Original Summary

I'm the author of RangeLab, a set of poker study tools that runs on your own server and is used from the browser on desktop and mobile. Here's what it is, how it's built, and where its limits are. What's included: Eight tools. Equity Lab (Monte Carlo equity between hands and ranges), Preflop Lab (preflop range charts), Bankroll Lab (sessions, tournaments, and transactions), Hand Lab (hand history import and review), Range Lab (range analysis), MTT Exploiter (aggregated personal multi-table tournament stats), AI Table (practice against heuristic bots calibrated with your own Hand Lab stats), and Tournament Lab. Deployment: pip install -r requirements.txt && python app.py, or docker compose up -d. The Docker image runs Gunicorn with 2 workers and 4 threads, runs as a non-root user, and has a healthcheck at /api/health. Storage is a single SQLite file. The path is set with RANGELAB_DB_PATH, and the Docker config stores it in a named volume. Behind Caddy or Nginx, enable RANGELAB_TRUST_PROXY=1 so the rate limiter uses the real client IP, and RANGELAB_HTTPS=1 for secure cookies. The first visit opens a setup wizard. It asks for an install token printed in the server console, so nobody else can claim the admin account. Backups: scripts/backup_db.py, with retention and designed for cron. Details are in DEPLOY.md. Security decisions: Passwords are stored with Werkzeug hashing. Login is locked for 15 minutes after several failed attempts. User data tables are tied to user_id, and queries filter by that field. All responses carry security headers, and API errors are generic. Limits, honestly: One process per worker plus SQLite, so it's meant for personal use or small groups, not large multi-tenant deployments. Monte Carlo results depend on how many iterations you run. License: Source-available, not OSI. Personal and non-commercial use, modification, and redistribution are allowed. Selling it or offering it as a paid service is not. Read the LICENSE file before deciding. Repository: https://github.com/XatoDevelopment/Range-Lab I'm especially interested in feedback on the Docker setup and the deployment docs, particularly from people running self-hosted apps behind a reverse proxy.   submitted by   /u/Legitimate_Toe_4344 [link]   [comments]


  • 情报分类:技术学习与提效
  • 分类依据:内容涉及技术、AI、软件工具或工程实践
  • 信息来源:Reddit · SideProject
  • 发布时间:2026/10/18 21:24:16