plant
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v233View latest version
A gamified coding tracker that grows virtual plants based on your WakaTime coding activity.
- User Authentication: Secure login with your WakaTime API key
- Multi-stage plant growth: 8 distinct growth stages from seed to full bloom
- Real-time WakaTime integration: Fetches your daily coding stats
- Complex growth mechanics: Growth depends on coding time, consistency, and language diversity
- Dark/Light mode: Responsive design with media query-based theming
- Progress tracking: Visual indicators for growth requirements
- Demo mode: Try the app without an API key using sample data
- Seed (0 hours) - Just planted
- Sprout (1+ hours) - First signs of life
- Seedling (3+ hours) - Small leaves appear
- Young Plant (6+ hours) - Growing stronger
- Mature Plant (12+ hours) - Well established
- Flowering (20+ hours) - Beautiful blooms
- Fruit Bearing (30+ hours) - Producing fruit
- Ancient Tree (50+ hours) - Majestic and wise
- Demo Mode: Visit the app to see it in action with sample data
- Real Data: Click "Connect WakaTime" and enter your API key
- Get API Key: Visit wakatime.com/api-key to get your key
- Watch Growth: Your plant grows based on your weekly coding activity!
Each stage requires different combinations of:
- Coding Hours: Total time spent coding this week
- Consistency: Percentage of days you coded
- Language Diversity: Number of different programming languages used
- API keys are validated securely on the backend
- Keys are stored locally in your browser (localStorage)
- No server-side storage of API keys
- Users can logout to remove their data at any time
- Backend: Hono.js API with WakaTime integration
- Frontend: React with TypeScript
- Styling: TailwindCSS with dark mode support
- Authentication: Client-side storage with backend validation
- Data: WakaTime API integration