Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pritishmishraa/streaks
task management with GitHub commit heat map like calendar
https://github.com/pritishmishraa/streaks
calendar heatmap-calendar nextjs13 nextui task-manager typescript zustand zustand-persist
Last synced: about 2 months ago
JSON representation
task management with GitHub commit heat map like calendar
- Host: GitHub
- URL: https://github.com/pritishmishraa/streaks
- Owner: PritishMishraa
- License: mit
- Created: 2024-04-29T12:40:35.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-05T11:59:57.000Z (8 months ago)
- Last Synced: 2024-05-05T19:42:52.344Z (8 months ago)
- Topics: calendar, heatmap-calendar, nextjs13, nextui, task-manager, typescript, zustand, zustand-persist
- Language: TypeScript
- Homepage: https://streakks.vercel.app
- Size: 979 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streaks
Visualize your consistency
## Technologies Used
- [Next.js 14](https://nextjs.org/docs/getting-started)
- [NextUI v2](https://nextui.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Tailwind Variants](https://tailwind-variants.org)
- [TypeScript](https://www.typescriptlang.org/)
- [Framer Motion](https://www.framer.com/motion/)
- [next-themes](https://github.com/pacocoursey/next-themes)
- [Zustand](https://zustand-demo.pmnd.rs/)## How to Use
### Install dependencies
```bash
pnpm i
```### Run the development server
```bash
pnpm dev
```### Setup pnpm (optional)
If you are using `pnpm`, you need to add the following code to your `.npmrc` file:
```bash
public-hoist-pattern[]=*@nextui-org/*
```After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
### .env
```bash
AUTH_SECRET=
AUTH_GITHUB_ID=
AUTH_GITHUB_SECRET=
DATABASE_URL="file:./data.db"
```## Roadmap
### On Going- [X] Trash icon - danger color
- [X] Use as guest
- [X] Persist data in local storage
- [X] Calculate streak
- [X] Edit task (inline)
- [X] Delete project (modal) (except 'All Projects')
- [X] Cascade delete all associated tasks
- [X] Edit project name (modal) (except 'All Projects')
- [X] Update project tag for tasks in 'Completed' tab
- [X] Populate edit field with current project name (workaround?)
- [X] Save current tab in URL search params
- [X] Open 'Completed' tab when a date is clicked on activity map
- [X] Clean up
- [X] Host it### Up Next
- [ ] Delay in checking off task
- [ ] Mobile friendly design
- [ ] Sort based on project in completed tab
- [ ] Undo on today's completed tasks
- [ ] Focus on text input in new project modal
- [ ] Drag and drop tasks to reorder
- [ ] Emjoi picker in new project modal
- [ ] Year drop down in activity map
- [ ] Loading spinner after clicking Sign In button### Later
- [ ] Use slices instead of two stores
- [ ] Settings page## Dev Time
![Wakapi Stats](https://wakapi.dev/api/badge/pritish__mishraa/interval:any/project:streaks)## Resources
[Zustand best practices](https://tkdodo.eu/blog/working-with-zustand)