app
fixed: the flashing on loading statedb
feat: Implement drag-and-drop reordering for protocols with optimistic UI and loading states for log toggling.public
Initial commit from Create Next App.gitignore
Initial commit from Create Next Appbun.lock
feat: Implement core tracker application with user authentication, database, and data management features.drizzle.config.ts
feat: Implement core tracker application with user authentication, database, and data management features.eslint.config.mjs
Initial commit from Create Next Appnext.config.ts
Initial commit from Create Next Apppackage.json
feat: Implement core tracker application with user authentication, database, and data management features.postcss.config.mjs
feat: Implement core tracker application with user authentication, database, and data management features.proxy.ts
feat: Implement server-side cookie-based session management, authentication middleware, and disable line chart animation.README.md
added Readme and vercel deplyment scripttsconfig.json
Initial commit from Create Next Appvercel.json
added Readme and vercel deplyment scriptSelfSheet
A minimalist, compact, and highly functional habit tracker application built with Next.js. SelfSheet allows you to track personal protocols daily, switch between beautiful custom themes, and even digitize physical habit-tracking sheets using AI.
Features
- Daily Protocol Tracking: Easily add, rename, toggle, and delete daily habits and protocols.
- AI Image Import: Upload a picture of your physical tracking sheet, and AI will automatically parse and import your checked days into the app.
- Export Data: Export your monthly spreadsheet to an
.xlsxfile, or download your progress trend chart straight to a PNG. - Custom Theming: Built-in dynamic theme engine (Light, Black, Sunset, Nightown, Sea) featuring a completely custom and keyboard-accessible UI.
- Authentication: Secure user registration and login to keep your data private.
- Compact & Responsive: Flat, minimalist aesthetics that work beautifully on both desktop and mobile devices.
Tech Stack
- Framework: Next.js (App Router) & React
- Database: PostgreSQL + Drizzle ORM
- AI Integration: Google Gemini (
@ai-sdk/google) - Charting & Data: Recharts,
xlsx,html2canvas,date-fns
Getting Started
Prerequisites
Make sure you have Bun installed and a running PostgreSQL database.
Installation
-
Clone the repository:
git clone https://github.com/SureshAmal/selfsheet.git cd selfsheet -
Install dependencies:
bun install -
Set up your environment variables. Create a
.env.localfile in the root directory:POSTGRES_URL="postgres://username:password@localhost:5432/selfsheet" GOOGLE_GENERATIVE_AI_API_KEY="your_gemini_api_key_here" -
Generate and run the database migrations:
bunx drizzle-kit generate bunx drizzle-kit push -
Start the development server:
bun run dev
Open http://localhost:3000 with your browser to run the application.