Commit graph

10 commits

Author SHA1 Message Date
Lucas
c2e8c02bf0 remove outdated info from CLAUDE.md 2025-06-15 15:48:54 +02:00
Lucas
51a7d9c7c8 Add Go patterns cheat sheet
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 15:17:24 +02:00
Lucas
d7e7e81ab9 Add README.md with project overview and architecture
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 15:16:17 +02:00
Lucas
7a4fa4b312 Fix dark mode flash by inlining critical script
- Move dark mode detection to inline script in HTML head
- Prevents white flash in Firefox by applying theme before render
- Clean up redundant code in dark-mode.js
- Apply fix to all HTML pages for consistent behavior

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 04:09:18 +02:00
Lucas
ba5c3a9650 WIP: Dark mode implementation in progress
- Modified multiple HTML files for dark mode support
- Updated styles.css with dark mode styling
- Added dark-mode.js for toggle functionality
- Work still in progress, saving current state

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 04:02:10 +02:00
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