{"id":31209654,"url":"https://github.com/nerufuyo/neruwake","last_synced_at":"2026-05-09T03:33:27.978Z","repository":{"id":311250347,"uuid":"1042973001","full_name":"nerufuyo/neruwake","owner":"nerufuyo","description":"A comprehensive VSCode extension that tracks daily coding activity, including wake-up time, time spent coding, programming languages used, and displays this data with daily updates on GitHub profile README.","archived":false,"fork":false,"pushed_at":"2025-08-23T02:13:07.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T04:22:11.413Z","etag":null,"topics":["github","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerufuyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-22T22:29:29.000Z","updated_at":"2025-08-23T02:13:10.000Z","dependencies_parsed_at":"2025-08-23T04:22:13.664Z","dependency_job_id":"67559f8f-d17b-4558-95fc-a9a4431f952c","html_url":"https://github.com/nerufuyo/neruwake","commit_stats":null,"previous_names":["nerufuyo/neruwake"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nerufuyo/neruwake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerufuyo%2Fneruwake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerufuyo%2Fneruwake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerufuyo%2Fneruwake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerufuyo%2Fneruwake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerufuyo","download_url":"https://codeload.github.com/nerufuyo/neruwake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerufuyo%2Fneruwake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276183923,"owners_count":25599244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","vscode","vscode-extension"],"created_at":"2025-09-21T02:26:20.663Z","updated_at":"2025-09-21T02:26:21.676Z","avatar_url":"https://github.com/nerufuyo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NeruWake - VSCode Time Tracker Extension\n\nA comprehensive VSCode extension that tracks daily coding activity, including wake-up time, time spent coding, programming languages used, and displays this data with daily updates on GitHub profile README.\n\n## Features\n\n- **Session Tracking**: Automatically record wake-up time and total active coding time\n- **Language Detection**: Track programming languages based on active file types\n- **Database Storage**: Store data securely in Supabase (free tier)\n- **GitHub Profile Integration**: Daily automatic updates of coding statistics\n- **Customizable Themes**: Multiple visual themes for GitHub display\n- **Clean Architecture**: Built with OOP principles, DRY, and KISS methodologies\n\n## Installation\n\n### From VSCode Marketplace\n1. Open VSCode\n2. Go to Extensions (Ctrl+Shift+X)\n3. Search for \"NeruWake\"\n4. Click Install\n\n### Manual Installation\n1. Clone this repository\n2. Install dependencies: `npm install`\n3. Compile TypeScript: `npm run compile`\n4. Package extension: `npm run package`\n5. Install the .vsix file in VSCode\n\n## Configuration\n\n### Initial Setup\n\n1. **Supabase Setup**:\n   - Create a free Supabase account at [supabase.com](https://supabase.com)\n   - Create a new project\n   - Copy your project URL and anon key\n   - Create a `.env` file from `.env.example`\n   - Add your Supabase credentials\n\n2. **GitHub Integration** (Optional):\n   - Generate a GitHub Personal Access Token\n   - Add it to your `.env` file\n   - Configure your GitHub username in extension settings\n\n### Extension Settings\n\nAccess settings via Command Palette: `NeruWake: Open Settings`\n\n- **Auto Start**: Automatically start tracking when VSCode opens\n- **GitHub Integration**: Enable/disable GitHub profile updates\n- **Theme**: Choose from 5 available themes\n- **Update Time**: Set daily GitHub update time\n- **Timezone**: Configure your timezone\n\n## Usage\n\n### Basic Commands\n\nOpen Command Palette (Ctrl+Shift+P) and use:\n\n- `NeruWake: Start Tracking Session` - Begin tracking coding activity\n- `NeruWake: Stop Tracking Session` - End current session\n- `NeruWake: Show Daily Statistics` - View current session stats\n- `NeruWake: Sync to GitHub Profile` - Manually sync to GitHub\n- `NeruWake: Open Settings` - Configure extension\n\n### Automatic Tracking\n\nThe extension automatically tracks:\n- Session start/end times\n- File editing activity\n- Programming languages used\n- Idle detection (pauses after 5 minutes of inactivity)\n\n### GitHub Profile Integration\n\nWhen enabled, the extension will:\n- Update your GitHub profile README daily\n- Display coding statistics with your chosen theme\n- Show programming language breakdown\n- Track coding streaks and active hours\n\n## Themes\n\nChoose from 5 professionally designed themes:\n\n1. **Minimal**: Clean, simple statistics display\n2. **Dark**: Modern dark theme with subtle accents\n3. **Gradient**: Colorful gradient backgrounds\n4. **Professional**: Corporate-friendly design\n5. **Animated**: Smooth animations and transitions\n\n## Architecture\n\n### Project Structure\n\n```\nsrc/\n├── core/                 # Core business logic\n│   ├── ConfigurationManager.ts\n│   └── SessionManager.ts\n├── models/              # Data models and types\n│   ├── types.ts\n│   ├── SessionModel.ts\n│   └── LanguageUsageModel.ts\n├── services/            # External service integrations\n├── repositories/        # Data access layer\n├── utils/               # Utility functions\n│   ├── helpers.ts\n│   └── Logger.ts\n├── ui/                  # User interface components\n└── extension.ts         # Main extension entry point\n```\n\n### Design Principles\n\n- **Single Responsibility**: Each class has one clear purpose\n- **DRY (Don't Repeat Yourself)**: Common functionality extracted to utilities\n- **KISS (Keep It Simple, Stupid)**: Simple, readable implementations\n- **OOP**: Object-oriented design with proper encapsulation\n- **Clean Architecture**: Separation of concerns and dependency injection\n\n## Database Schema\n\n### Supabase Tables\n\n```sql\n-- User sessions\nsessions (\n  id: uuid PRIMARY KEY,\n  user_id: uuid REFERENCES auth.users(id),\n  date: date NOT NULL,\n  wake_up_time: timestamp,\n  total_active_time: integer,\n  created_at: timestamp DEFAULT now()\n)\n\n-- Language usage\nlanguage_usage (\n  id: uuid PRIMARY KEY,\n  session_id: uuid REFERENCES sessions(id),\n  language: varchar(50) NOT NULL,\n  time_spent: integer,\n  file_count: integer,\n  created_at: timestamp DEFAULT now()\n)\n\n-- User preferences\nuser_preferences (\n  user_id: uuid PRIMARY KEY REFERENCES auth.users(id),\n  github_username: varchar(100),\n  github_token: text,\n  selected_theme: varchar(50) DEFAULT 'minimal',\n  daily_update_time: time DEFAULT '23:59:00',\n  timezone: varchar(50) DEFAULT 'UTC',\n  auto_update_enabled: boolean DEFAULT true,\n  created_at: timestamp DEFAULT now(),\n  updated_at: timestamp DEFAULT now()\n)\n```\n\n## Development\n\n### Prerequisites\n\n- Node.js 18+\n- TypeScript 4.9+\n- VSCode Extension Development Environment\n\n### Setup\n\n```bash\n# Clone repository\ngit clone https://github.com/nerufuyo/neruwake.git\ncd neruwake\n\n# Install dependencies\nnpm install\n\n# Copy environment configuration\ncp .env.example .env\n\n# Compile TypeScript\nnpm run compile\n\n# Run in watch mode for development\nnpm run watch\n```\n\n### Testing\n\n```bash\n# Run linting\nnpm run lint\n\n# Run tests\nnpm test\n\n# Run extension in development mode\nF5 (in VSCode)\n```\n\n### Building\n\n```bash\n# Compile for production\nnpm run vscode:prepublish\n\n# Package extension\nnpm run package\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/your-feature-name`\n3. Commit your changes: `git commit -m \"Add your feature\"`\n4. Push to the branch: `git push origin feature/your-feature-name`\n5. Submit a pull request\n\n### Commit Message Convention\n\nUse conventional commit messages:\n\n- `feat: add new feature`\n- `fix: resolve bug in session tracking`\n- `docs: update README documentation`\n- `style: format code with prettier`\n- `refactor: improve session manager architecture`\n- `test: add unit tests for configuration manager`\n- `chore: update dependencies`\n\n## Security \u0026 Privacy\n\n- All sensitive data is encrypted\n- Minimal data collection principle\n- User control over all data\n- HTTPS-only connections\n- Easy data deletion options\n\n## Support\n\n- **Issues**: [GitHub Issues](https://github.com/nerufuyo/neruwake/issues)\n- **Documentation**: [Wiki](https://github.com/nerufuyo/neruwake/wiki)\n- **Discussions**: [GitHub Discussions](https://github.com/nerufuyo/neruwake/discussions)\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## Roadmap\n\n### Version 1.0\n- [x] Core session tracking\n- [x] Language detection\n- [ ] Supabase integration\n- [ ] GitHub profile updates\n- [ ] Theme system\n\n### Version 2.0\n- [ ] Multi-editor support\n- [ ] Team analytics\n- [ ] Advanced themes\n- [ ] Mobile companion app\n- [ ] AI insights\n\n## Acknowledgments\n\n- VSCode Extension API team\n- Supabase for excellent backend services\n- GitHub for profile integration capabilities\n- Open source community for inspiration\n\n---\n\n**Built with ❤️ for developers who love tracking their coding journey**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerufuyo%2Fneruwake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerufuyo%2Fneruwake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerufuyo%2Fneruwake/lists"}