Skip to content

πŸ§ͺNesto is a modern, AI-enhanced productivity tool built for developers who juggle notes, code snippets, and documentation across projects. It combines a fast and minimal UX with deep functionality β€” letting you write, organize, share, and generate content with ease.

Notifications You must be signed in to change notification settings

deepsoumya617/Nesto

Repository files navigation

Logo

πŸ“š Nesto // ねすと: Your Code, Your Thoughts, Your AI

A unified space to capture code, write notes, and harness AI β€” designed for modern developers who move fast.


πŸ”₯ MVP 1 Highlights

Feature Description
Dashboard Visualize your snippet & note activity, tag usage, and productivity trends.
Ask AI Get help with explaining, debugging, converting, or generating code snippets using OpenAI.
Smart Notes Create rich notes with titles, content, and tags(soon!). RIch text editor with full mobile and desktop support.
Code Snippets Save and manage code snippets with tags across languages.
Search & Tags Filter by title or tags. Understand your code library better.
GitHub Import Import public gists directly into your snippet manager.
Responsive Layouts Optimized UI for desktop, tablet, and mobile (with dedicated mobile routes).

🧠 AI-Powered Assistance

Use the Ask AI panel to:

  • Explain complex code
  • Debug broken logic
  • Optimize code performance
  • Translate between languages (e.g., JS β†’ Go)

πŸ—Ί Roadmap (v1 ➜ v2)

Here's what's done βœ… and what's cooking 🍳 for the next big release:

Status Feature Description
βœ… Mobile-specific Editor UX Seamless full-screen note/snippet editing experience on mobile.
βœ… GitHub Gist Import Import your public gists and turn them into editable snippets.
βœ… AI Code Explanation & Generation Ask AI to explain, convert, or generate code within the editor.
πŸ”œ Save AI-generated Snippets Directly save AI-created snippets into your personal library.
πŸ”œ Multi-language UI Switch between πŸ‡¬πŸ‡§ English and πŸ‡―πŸ‡΅ Japanese effortlessly.
πŸ”œ Export as OpenGraph Image Create and share beautifully styled previews of your notes/snippets.
πŸ”œ Folder/Workspace System Organize notes and snippets into folders or project workspaces.
πŸ”œ Public Sharing via Link Share individual snippets or notes with a public URL β€” no login required.
πŸ§ͺ Realtime Collaboration Work together on notes and snippets β€” live and in sync. (WIP)

πŸ›  Tech Stack

  • Framework: Next.js App Router
  • State Management: Zustand(for snippets only)
  • Styling: TailwindCSS
  • Database: PostgreSQL (hosted via Prisma Data Platform)
  • Auth: Clerk
  • AI: OpenAI API
  • Code Editor: CodeMirror
  • Analytics & Stats: Recharts

πŸ“ Project Structure

nesto/
β”œβ”€β”€ app/                # Next.js App Router
β”‚   β”œβ”€β”€ (app)
β”‚     β”œβ”€β”€ ask-ai/           # ask-ai page
β”‚     β”œβ”€β”€ changelog/        # changelog page
β”‚     β”œβ”€β”€ contact/          # contact page
β”‚     β”œβ”€β”€ dashboard/        # dashboard page
β”‚     β”œβ”€β”€ import/           # import page
β”‚     β”œβ”€β”€ notes/            # notes page
β”‚     β”œβ”€β”€ privacy-policy/   # privacy policy page
β”‚     β”œβ”€β”€ report/           # report page
β”‚     β”œβ”€β”€ snippets/         # snippet page
β”‚     β”œβ”€β”€ terms/            # terms page
β”‚     β”œβ”€β”€ layout.tsx        # (app) layout
β”‚   β”œβ”€β”€ (auth)              # auth
β”‚     β”œβ”€β”€ sign-in/          # sign-in page
β”‚     β”œβ”€β”€ sign-up/          # sign-up page
β”‚     β”œβ”€β”€ layout.tsx        # (auth) layout
β”‚   β”œβ”€β”€ api/                # api routes
β”‚   β”œβ”€β”€ layout.tsx          # Root layout
β”‚   β”œβ”€β”€ page.tsx            # Home page
β”‚   β”œβ”€β”€ components/         # reusable ui components
β”‚   β”œβ”€β”€ hooks/              # custom hooks
β”‚   β”œβ”€β”€ lib/                # server actions, constants, initializers
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ styles/
β”œβ”€β”€ types/
β”œβ”€β”€ components.json
β”œβ”€β”€ middleware.ts
β”œβ”€β”€ next-end.d.ts
β”œβ”€β”€ next.config.ts
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
β”œβ”€β”€ postcss.config.mjs
β”œβ”€β”€ README.md
β”œβ”€β”€ tsconfig.json

πŸ’‘ Inspiration

This project was inspired by:

  • 🧠 The need for a faster, simpler snippet + note manager
  • πŸͺ„ GitHub Gist’s limitations
  • ✨ The growing power of AI in dev workflows

🀝 Contributing

Contributions are welcome!
Feel free to open issues, suggest features, or submit pull requests.

  1. Clone the repository

    git clone https://github.com/deepsoumya617/nesto.git
    cd nesto
  2. Install dependencies

    npm install
  3. Set up environment variables

    # Create environment file in root directory
    cp .env.example .env
    
    # Note: Set your Clerk, Database, and OpenAI credentials inside the .env file. You can find the required fields in .env.example.
  4. Set up the database

    # Generate Prisma client
    npx prisma generate
    
    # Run database migrations
    npx prisma migrate dev
  5. See database tables

# Open Prisma Studio(optional)
npx prisma studio
  1. Start development server
    npm run dev

πŸ“Note ~ You have to setup ngrok to perform sign-up using clerk on localhost.

βš™οΈENV sample

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-publishable-key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
DATABASE_URL=your-database-url
CLERK_SECRET_KEY=your-clerk-secret-key
CLERK_WEBHOOK_SIGNING_SECRET=your-clerk-webhook-signing-secret
OPENAI_API_KEY=your-openai-api-key
ADMIN_EMAIL=dont-modify-it
RESEND_API_KEY=your-resend-api-key

Star History

Star History Chart

About

πŸ§ͺNesto is a modern, AI-enhanced productivity tool built for developers who juggle notes, code snippets, and documentation across projects. It combines a fast and minimal UX with deep functionality β€” letting you write, organize, share, and generate content with ease.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Contributors 3

  •  
  •  
  •