Skip to content

Capitalismo Selvagem

Personal finances in one place, with an assistant that understands sentences, credit card bills and bank statements.

Capitalismo Selvagem: app home page, desktop version
Capitalismo Selvagem: app, mobile version
Project team
Allan SanchesConcept, design and development
Project scope
  • Idea
  • Design
  • Code
Context
Personal project
2026

Technologies used

  • Next.js
  • React
  • TypeScript
  • PostgreSQL
  • Drizzle ORM
  • Zod
  • Zustand
  • Recharts
  • Tailwind
  • daisyUI
  • Vercel AI Gateway
  • Gemini
  • DeepSeek
  • Vitest

What if logging an expense were just a matter of writing a sentence?

Expenses, cards, credit card bills, debts, savings and shopping lists tend to be scattered across spreadsheets, banking apps and notes.

I created an app to bring this information together in one place.

At its center is Marx, an AI assistant that answers questions about the user’s finances and logs several expenses from a sentence or a pasted list. The AI also reads credit card bills, bank statements and debt reports in PDF or as screenshots.

The app was designed to be

Direct, organized, and private.

Direct in logging. A sentence like “spent 45 on iFood yesterday on credit” becomes a structured entry. In the chat, Marx, with the persona of Karl Marx, answers questions about expenses, cards, savings pots, debts and exchange rates based on a snapshot of the user’s finances, and logs several expenses at once, saved only after they are confirmed. The AI model (GPT, Gemini or DeepSeek) is chosen in the chat itself, and every answer is validated before it becomes data. The avatar follows the cursor with its eyes and fires a laser when it understands an expense.

Credit card bills, bank statements and the debt reports from Registrato and Serasa come in as PDFs or screenshots, through the import screen or a paperclip in the chat itself: the name and CPF are removed before anything is sent to the AI, and the totals are checked. Statements in OFX and CSV come in without AI. An entry counts as a duplicate when it has the same amount and is at most one day apart, even with a different description, and it arrives unchecked. Investments, redemptions, bill payments and Pix transfers between the person’s own accounts become internal movements, kept out of income and expenses, and each Pix on credit becomes a card purchase. Checked against a real bank statement, the calculated balance matches to the cent.

Organized on the dashboard. The dashboard separates income and expenses, planned and actual, with charts for the last six months and by category. Card purchases can be split into up to 24 installments, each on the bill for its month, and upcoming bills are forecast by adding up the installments. The used limit follows the bank’s figure, the limit backed by a CDB tracks investments and redemptions, and a bill over the limit shows how much it went over. Savings pots project returns based on the CDI, with the Selic rate expected in the Focus bulletin and regressive tax, earn interest per business day, as at the bank, and calculate the monthly contribution needed to reach the goal on time; dollar savings pots are converted at the day’s exchange rate. On the wish list, you just paste a product link: the price is checked every six hours, with a history and an alert when it drops or reaches the lowest price ever seen.

Private, on the user’s own infrastructure. The project is installed on its own infrastructure, with the database and credentials configured by whoever uses it, with no public sign-up. Each account, created by the administrator, sees only its own data, and automated tests check this isolation. Changing the password ends the session on other devices. The app can be installed on a phone and has a mode that hides amounts on the screen.

The interface has a light and a dark theme, with the light theme’s colors darkened to maintain contrast, and it respects the request to reduce motion, including Marx’s laser. For screen reader users, the controls have labels, and the chat and imports announce what changed on the screen.

The result is a place to keep track of money, from the day’s expense to the year’s savings, without spreadsheets.

What was delivered

  • Marx, an AI assistant that answers questions about finances and logs expenses in batches
  • Choice of AI model in the chat: GPT, Gemini or DeepSeek
  • Entries from sentences in Portuguese
  • Reading of credit card bills, bank statements, Registrato and Serasa in PDF or screenshots, also through the chat, without name or CPF
  • Import of bank statements in OFX and CSV
  • Duplicate entries recognized by amount and date, and internal movements kept apart from expenses
  • Dashboard with planned and actual figures and charts by month and by category
  • Cards and bills, with purchases in up to 24 installments and upcoming bills forecast
  • Savings pots with returns per business day, CDI-based projection and the contribution needed for the goal
  • Debts imported from Registrato and Serasa
  • Wish list with price tracker, and shopping list
  • Isolated accounts, installable app, a mode that hides amounts and password change that ends other sessions
  • Light and dark theme, screen reader support and reduced motion

Project images

Capitalismo Selvagem palette: graphite #27292C for the dark mode background, lime #BBF451 for the balance and totals, cyan #53EAFD for available credit and bills up to date, violet #8E51FF for savings pots and Marx and amber #FFD230 for debts
Color palette of Capitalismo Selvagem: graphite in the background and a vivid color for each type of amount.
Capitalismo Selvagem typography: Space Grotesk in bold for headings and amounts, in semibold for labels and buttons and regular for body text
Typography of Capitalismo Selvagem: Space Grotesk, from the highlighted amount to the body text.

Have a project in mind?

Let’s start with a conversation.

Talk about a project