EnhancedJax/Bagels

Python

开源替代 Expensify

Powerful expense tracker that lives in your terminal.

cliexpense-trackerpythonpython3sshterminaltextualtuiuv
Star 增长趋势
Star
2.9k
Forks
108
周增长
+12
Issues
14
1k2k
25年9月26年1月26年5月26年9月
制品库PyPI
README

🥯 Bagels - TUI Expense Tracker

Powerful expense tracker that lives in your terminal.

PyPI - Version GitHub License PyPI - Downloads

Bagels Bagels

Bagels expense tracker is a TUI application where you can track and analyse your money flow, with convenience oriented features and a complete interface.

Why an expense tracker in the terminal? I found it easier to build a habit and keep an accurate track of my expenses if I do it at the end of the day, instead of on the go. So why not in the terminal where it's fast, and I can keep all my data locally?

✨ Features

Some notable features include:

  • Accounts, (Sub)Categories, Splits, Transfers, Records
  • Templates for Recurring Transactions
  • Add Templated Record with Number Keys
  • Clear Table Layout with Togglable Splits
  • Transfer to and from Outside Tracked Accounts
  • "Jump Mode" Navigation
  • Less and Less Fields to Enter per Transaction, Powered by Transactions and Input Modes
  • Insights
  • Customizable Keybindings and Defaults, such as First Day of Week
  • Label, amount and category filtering
  • Spending plottings / graphs with estimated spendings
  • Budgetting tool for saving money and limiting unnecessary spendings

📦 Installation

Recommended: By UV

Bagels can be installed via uv on MacOS, Linux, and Windows.

uv is a single Rust binary that you can use to install Python apps. It's significantly faster than alternative tools, and will get you up and running with Bagels in seconds.

You don't even need to worry about installing Python yourself - uv will manage everything for you.

Unix / MacOS:

# install uv (package manager):
curl -LsSf https://astral.sh/uv/install.sh | sh

# restart your terminal, or run the following command:
source $HOME/.local/bin/env # or follow instructions

# install bagels through uv
uv tool install --python 3.13 bagels

uv can also be installed via Homebrew, Cargo, Winget, pipx, and more. See the installation guide for more information.

Windows:

# install uv:
winget install --id=astral-sh.uv  -e
# then follow instructions to add uv to path
uv tool install --python 3.13 bagels
By Brew
brew install bagels
By Pipx
pipx install bagels
By Conda
conda install -c conda-forge bagels
By X-CMD
x install bagels

🥯 Usage:

bagels # start bagels
bagels --at "./" # start bagels with data stored at cd
bagels locate database # find database file path
bagels locate config # find config file path

It is recommended, but not required, to use "modern" terminals to run the app. MacOS users are recommended to use Ghostty, and Windows users are recommended to use Windows Terminal.

To upgrade with uv:

uv tool upgrade bagels

↔️ Migration

Please read the migration guide for migration from other services.

🛠️ Development setup

git clone https://github.com/EnhancedJax/Bagels.git
cd Bagels
uv run pre-commit install
mkdir instance
uv run bagels --at "./instance/" # runs app with storage in ./instance/
# alternatively, use textual dev mode to catch prints
uv run textual run --dev "./src/bagels/textualrun.py"
uv run textual console -x SYSTEM -x EVENT -x DEBUG -x INFO # for logging

Please use the black formatter to format the code.

🗺️ Roadmap

  • Budgets (Major!)
  • More insight displays and analysis (by nature etc.)
  • Daily check-ins
  • Pagination for records on monthly and yearly views.
  • Importing from various formats

Backlog:

  • "Processing" bool on records for transactions in process
  • Record flags for future insights implementation
  • Code review
  • Repayment reminders
  • Add tests
  • Bank sync

Attributions

  • Heavily inspired by posting
  • Bagels is built with textual
  • It's called bagels because I like bagels
相关仓库
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

TypeScriptnpmcliOtherautomationipaas
n8n.io
203.7k60.6k
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

PythonPyPIcliThe Unlicenseyoutube-dlpython
discord.gg/H5MNcFW63r
189.7k16.5k
ohmyzsh/ohmyzsh

🙃 A delightful community-driven (with 2,500+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.

ShellcliMIT Licenseshellzsh-configuration
ohmyz.sh
189.6k26.6k
google-gemini/gemini-cli

An open-source AI agent that brings the power of Gemini directly into your terminal.

TypeScriptnpmcliApache License 2.0geminigemini-api
geminicli.com
106.9k14.5k
sherlock-project/sherlock

Hunt down social media accounts by username across social networks

PythonPyPIcliMIT Licenseosintreconnaissance
sherlockproject.xyz
91.1k10.7k
OpenHands/OpenHands

🙌 OpenHands: AI-Driven Development

TypeScriptnpmcliMIT Licenseagentartificial-intelligence
openhands.dev
86.7k11.4k
junegunn/fzf

:cherry_blossom: A command-line fuzzy finder

GoGo ModulescliMIT Licensefzfgo
junegunn.github.io/fzf/
82.9k2.9k
jesseduffield/lazygit

simple terminal UI for git commands

GoGo ModulescliMIT Licensecligit
82.1k3k
rtk-ai/rtk

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Rustcrates.iocliApache License 2.0agentic-codingai-coding
rtk-ai.app
79.3k5k
Panniantong/Agent-Reach

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

PythonPyPIcliMIT Licenseagent-infrastructureai-agent
78.7k6.8k
career-ops-hq/career-ops

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

JavaScriptnpmcliMIT Licenseai-agentanthropic
career-ops.org
70.5k13.3k
santifer/career-ops

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

JavaScriptnpmcliMIT Licenseai-agentanthropic
career-ops.org
69.6k13.2k