Integrations
Supports configuration through environment variables stored in .env files for simplified setup and configuration.
Fetches cryptocurrency price data from Binance's public API to calculate asset values and profit/loss metrics.
Provides a container image available on Docker's public registry for easy deployment and management.
📊 Controtto
A self-hosted, P&L tracker made with Go, HTMX and no JavaScript. Controtto, keeps track of your transaction saving it in a sqlite file, and returns all sorts of calculations including:
- Avg. Buy price
- Current asset value
- Transaction history
- Import / Export transaction (see sample)
- Profit & Loss
In order to fetch the price of an asset, Controtto relies on mainly 4 APIs (see code).
- Binance - Public API, no token needed.
- BingX - Public API, no token needed.
- Alpha Vantage - Stocks, free but short rate limit. (get an token and set
CONTROTTO_AVANTAGE_TOKEN
) - Tiingo - Stocks, crypto and Forex. (create account/token and set
CONTROTTO_TIINGO_TOKEN
)
Demo
You can also check out the demo at demo.contre.io, the database resets every hour.
https://github.com/user-attachments/assets/28bf8782-6118-47c0-a94b-085e1a7045b2
All configurations are set in the .env
file and passed as environment variables. Variables CONTROTTO_PORT
and CONTROTTO_DB_PATH
are available.
Build and Run
Development env
and access localhost:3000
Run with Podman
A Container image is available on Docker's public registry.
If you want to use Docker, simply replace podman
with docker
.
Run tests
TODO
- More tests
- Wrappers for logging and metrics would be nice as well.
- Add Accounts to keep track of the total net worth.
- Remove all the CSS and use custom
style.css
+ Tailwind CDN.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
You are capable of interpreting golang code and judge it under the most strict ddd and clean architecture paragidms
Related MCP Servers
- -securityAlicense-qualityGo server implementing Model Context Protocol (MCP) for filesystem operations.Last updated -228GoMIT License
- -securityAlicense-qualitygodoc-mcp is a Model Context Protocol (MCP) server that provides efficient access to Go documentation. It helps LLMs understand Go projects by providing direct access to package documentation without needing to read entire source files.Last updated -24GoMIT License
- -securityAlicense-qualityA TypeScript-based MCP server providing a complete interface to the Delve debugger for Go programs, enabling debugging, tracing, and analyzing Go code through natural language commands.Last updated -1TypeScriptMIT License
- -security-license-qualityA Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with Go's Language Server Protocol (LSP) and benefit from advanced Go code analysis features.Last updated -GoApache 2.0
Appeared in Searches
- Using separate agents for schema validation, code standards, and directory structure enforcement in development workflows
- How to compile code in Visual Studio
- How to view console logs in a development environment
- Information about Python programming or Python-related topics
- A tool for analyzing a code base to locate functions or variables