All Projects → diegomacario → Poor Fox

diegomacario / Poor Fox

Licence: mit
A beautiful command-line application designed to help you keep track of your expenses.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Poor Fox

Elixir cli spinners
Spinnig Animations for Command Line Applications
Stars: ✭ 117 (-10%)
Mutual labels:  command-line-tool
Scc
An Offline cheat sheet and a quick reference command line tool for HTML, CSS and JS .
Stars: ✭ 123 (-5.38%)
Mutual labels:  command-line-tool
Redli
Redli - A humane alternative to the Redis-cli and TLS
Stars: ✭ 126 (-3.08%)
Mutual labels:  command-line-tool
Freenom Dns Updater
A tool to update freenom's dns records
Stars: ✭ 117 (-10%)
Mutual labels:  command-line-tool
Cli.fyi
A Potentially Useful Command Line Query Tool
Stars: ✭ 120 (-7.69%)
Mutual labels:  command-line-tool
Mint
A package manager that installs and runs executable Swift packages
Stars: ✭ 1,750 (+1246.15%)
Mutual labels:  command-line-tool
Mesabox
A collection of core system utilities written in Rust for Unix-like systems (and now Windows)
Stars: ✭ 116 (-10.77%)
Mutual labels:  command-line-tool
Replace In Files Cli
Replace matching strings and regexes in files
Stars: ✭ 129 (-0.77%)
Mutual labels:  command-line-tool
Notes Cli
Small markdown note taking CLI app playing nicely with your favorite editor and other CLI tools
Stars: ✭ 122 (-6.15%)
Mutual labels:  command-line-tool
Desktoppr
Simple command line tool to set the desktop picture on macOS
Stars: ✭ 127 (-2.31%)
Mutual labels:  command-line-tool
Leaf
General purpose reloader for all projects.
Stars: ✭ 118 (-9.23%)
Mutual labels:  command-line-tool
Videosnap
Simple command line app to record video and audio from a QuickTime capture device
Stars: ✭ 119 (-8.46%)
Mutual labels:  command-line-tool
Dynein
DynamoDB CLI written in Rust.
Stars: ✭ 126 (-3.08%)
Mutual labels:  command-line-tool
Borg
Search and save shell snippets without leaving your terminal
Stars: ✭ 1,528 (+1075.38%)
Mutual labels:  command-line-tool
Check It Out
A command line interface for Git Checkout. See branches available for checkout.
Stars: ✭ 127 (-2.31%)
Mutual labels:  command-line-tool
Python N26
💵 Unofficial Python client for n26 (Number 26) - https://n26.com/
Stars: ✭ 116 (-10.77%)
Mutual labels:  command-line-tool
Macos Lock
Lock your Mac from the command-line
Stars: ✭ 123 (-5.38%)
Mutual labels:  command-line-tool
Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+1288.46%)
Mutual labels:  command-line-tool
Poodle
🔥 A fast and beautiful command line tool to build API requests.
Stars: ✭ 129 (-0.77%)
Mutual labels:  command-line-tool
Typin
Declarative framework for interactive CLI applications
Stars: ✭ 126 (-3.08%)
Mutual labels:  command-line-tool

Poor Fox

A beautiful command-line application designed to help you keep track of your expenses.

Features

  • Create your own expense categories.
  • Log your expenses using the 3-letter codes generated by the application.
  • Visualize the total you spend on each category through monthly reports.
  • Add new expense categories to an existing database.

Technical details

  • Supported on macOS, Linux and Windows.
  • Data is stored locally using SQLite.
  • Terminal string styling is done using Chalk.

Installation

Requirements

Have Node.js, npm and Chalk installed in your system.

  • To install Node.js and npm in macOS you can follow these instructions.
  • To install Node.js and npm in Linux you can execute the following commands:
 $ sudo apt-get update
 $ sudo apt-get install nodejs
 $ sudo apt-get install npm
  • To install Node.js and npm in Windows you can follow these instructions.

To install Chalk you can then execute the following command:

 $ npm install --save chalk

macOS

To install the application globally, execute the command below.

$ curl -s -L https://github.com/diegomacario/Poor-Fox/raw/master/installer/unix_installer.sh | sudo bash -s macos

This command downloads the binary pfox_macOS included in release 1.0.0 and places it in your /usr/local/bin/ folder.

Linux

To install the application globally, execute the command below.

$ curl -s -L https://github.com/diegomacario/Poor-Fox/raw/master/installer/unix_installer.sh | sudo bash -s linux

This command downloads the binary pfox_linux included in release 1.0.0 and places it in your /usr/local/bin/ folder. If you do not have Curl installed, execute the following command first:

$ sudo apt-get install curl

Windows

To install the application globally, download the executable named pfox_windows.exe included in release 1.0.0, rename it as pfox.exe and place it in a folder that's on the PATH environment variable.

Usage

Note: The application features clear error messages that will guide you when you make mistakes.

1. Create your own expense categories:

$ pfox new -Groceries -Restaurants -Movies -Shows -Clothes -Books -Photography -Climbing
  • The application automatically generates codes that you can use to log expenses into each category.
  • Codes normally consist of the first 3 letters of each category.
  • Don't worry if 2 or more categories start with the same 3 letters (e.g. -Transportation -Travelling), the application will always generate unique codes.

2. Log the money you spent on a particular day by specifying its date in the format day/month/year:

$ pfox log -d=1/12/2016 -gro=64.32 -boo=36.22 -mov=12.25

$ pfox log -d=16/12/2016 -mov=12.25 -cli=21.34

  • The application automatically displays an expense report for the month you specified.
    • The table at the top displays the expenses that have been logged into each category separated by day.
    • The second table and the bar graph display the total spent in each category.
    • The global value at the bottom is the sum of all the totals.
  • If you do not specify a date, today's date is selected by default.
  • You can log expenses using the same date more than once. The expenses you enter will be added to the existing ones.
  • You can log negative values to make corrections when you enter incorrect amounts.
  • Dates are sorted automatically.

3. Add new expense categories to an existing database:

$ pfox add -Skydiving -Dancing
  • Useful for when you pick up new hobbies and activities!

4. Display the expense report of a particular month by specifying its date in the format month/year:

$ pfox tab -d=12/2016

5. Display the months in which you have logged expenses:

$ pfox dat

6. Display the expense categories included in your database and their codes:

$ pfox cat

7. Delete your database so that you can create a new one:

$ pfox reset

8. See examples of how to use the application:

$ pfox help

9. See what version of the application you are using:

$ pfox version

Why should you use it?

Just like this application, your bank generates monthly reports of your expenses. The big difference between the two is that your bank generates those reports without any effort from you, while this application requires you to enter your expenses manually. That might seem like a lot of work, but I consider it to be a benefit because it will help you be more conscious about your spending, which is something that a report that you look at once a month will never do.

Log your expenses for a couple of months and you'll find all the categories in which you can improve. You will be surprised! Then use the money you save to learn or experience something new.

You planning all the fun things you are going to do.

Why is it called Poor Fox?

Mr. Fox: I don't want to live in a hole anymore. It makes me feel poor.
Mrs. Fox: We are poor -- but we're happy.

If you haven't watched Fantastic Mr. Fox yet, make time in your schedule to watch it with your loved ones. You will feel elated!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].