Controtto
📊 Control
Un sistema de seguimiento de pérdidas y ganancias autoalojado, creado con Go, HTMX y sin JavaScript . Controtto registra tus transacciones, las guarda en un archivo SQLite y devuelve todo tipo de cálculos, incluyendo:
Precio medio de compra
Valor actual de los activos
Historial de transacciones
Transacción de importación/exportación (ver ejemplo )
Ganancias y pérdidas
Para obtener el precio de un activo, Controtto se basa principalmente en 4 API ( ver código ).
Binance - API pública, no se necesita token.
BingX - API pública, no se necesita token.
Alpha Vantage : Acciones, gratis pero con límite de tasa corto. ( Obtén un token y configura
CONTROTTO_AVANTAGE_TOKEN)Tiingo - Acciones, criptomonedas y Forex. ( crear cuenta/token y configurar
CONTROTTO_TIINGO_TOKEN)
Manifestación
También puedes consultar la demostración en demo.contre.io , la base de datos se reinicia cada hora.
https://github.com/user-attachments/assets/28bf8782-6118-47c0-a94b-085e1a7045b2
Todas las configuraciones se establecen en el archivo .env y se transfieren como variables de entorno. Las variables CONTROTTO_PORT y CONTROTTO_DB_PATH están disponibles.
# Install the dependencies
go mod tidy
# Set the .env
mv .env.example .env
# Source the env variables
. <(cat .env | grep -v -e '^$' | grep -v "#" | awk '{}')Related MCP server: Arch-Expert-MCP
Construir y ejecutar
go run ./cmd/main.go # go build ./cmd/main.go to just build itEntorno de desarrollo
go install github.com/cosmtrek/air@latest # Download air
air -c air.tomly acceder a localhost:3000
Corre con Podman
Hay una imagen de contenedor disponible en el registro público de Docker. Si desea usar Docker, simplemente reemplace podman por docker .
mkdir data
podman container run --rm -p 8000:8000 -v $(pwd)/data:/data contre95/controttoEjecutar pruebas
go test -cover ./...
# Expected result
# ? controtto/cmd [no test files]
# ? controtto/src/app/managing [no test files]
# ? controtto/src/domain/pnl [no test files]
# ? controtto/src/gateways/markets [no test files]
# ? controtto/src/gateways/sqlite [no test files]
# ? controtto/src/presenters [no test files]
# ok controtto/src/app/querying 0.003s coverage: 40.7% of statementsHACER
Más pruebas
También sería útil contar con envoltorios para registro y métricas.
Agregue cuentas para realizar un seguimiento del patrimonio neto total.
Elimina todo el CSS y usa
style.csspersonalizado + Tailwind CDN.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceStrict AI code reviewer powered by Groq. Finds bugs, vulnerabilities and security issues in your code. Supports analyze, compare versions, explain code, generate tests, and HTML reports.72MIT
- FlicenseNot gradedqualityDmaintenanceAutomates project scaffolding for Domain-Driven Design and Clean Architecture, providing professional naming, structure verification, and bilingual documentation generation.
- FlicenseNot gradedqualityDmaintenanceEnables scaffolding and managing Clean Architecture in Next.js projects, providing tools to initialize structure, create features with all layers, and validate architecture compliance.
- AlicenseCqualityCmaintenanceEnforces code quality, security, and architectural integrity by auditing, refactoring, and documenting codebases within Cursor and Claude.10MIT
Related MCP Connectors
Architecture docs and patterns for NestJS + Nuxt full-stack apps
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Appeared in Searches
- Information about the Go programming language
- Gin web framework for Go programming language
- Tips for Naming Variables and Functions in Go Programming Language
- Using separate agents for schema validation, code standards, and directory structure enforcement in development workflows
- How to compile code in Visual Studio
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/contre95/controtto'
If you have feedback or need assistance with the MCP directory API, please join our Discord server