Commit graph

5 commits

Author SHA1 Message Date
Lucas
8a7f9a62e5 Add mining resource system with background updates
Implements automatic resource production with database persistence:
- Mining table with timestamp, value, and rate tracking
- Background ticker updates values every minute
- API endpoint calculates real-time values from database snapshots
- Frontend displays live-updating current value and database history
- Rate-based accumulation system for efficient resource management

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 03:29:29 +02:00
Lucas
07daead293 Replace deprecated rand.Seed with rand.New
Updates random number generation to use the modern approach with
rand.New(rand.NewSource()) instead of the deprecated rand.Seed().

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 02:31:35 +02:00
Lucas
0f18a44eb8 Format Go code with gofmt
Standardizes indentation from spaces to Go's canonical tab formatting.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 02:31:17 +02:00
Lucas
e95f47874a Add authentication system with Authelia integration
- Add /auth/user API endpoint to extract and return Authelia headers
- Create account.html test page for authentication verification
- Update documentation in CLAUDE.md with authentication setup details
- Add account page to main feature list in index.html

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 01:56:00 +02:00
Lucas
94e6b88cbe Initial commit: Web development playground
- Frontend: HTML/CSS/JS demos and test pages
- Backend: Go API with SQLite database
- Features: AJAX calls, items management, random number generation
- Database: SQLite with items table for CRUD operations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 01:38:32 +02:00