Skip to content

Snippet manager made with Next.js, lucide-react and tailwindcss. Available as web app and as a windows desktop application

License

Notifications You must be signed in to change notification settings

Hogwai/snippet-manager

Repository files navigation

Snippet Manager

TypeScript Next.js React Tailwind CSS Tauri

A minimalist code snippet manager, designed to quickly save and organize your code snippets, commands, or technical notes.

Available as a web app and as a windows desktop application

Features

  • Quick snippet creation with title, content, and category
  • Real-time search across all snippets
  • Category system with autocomplete
  • Responsive and minimalist interface
  • Multilingual support (French/English)
  • Automatic expand/collapse for long snippets
  • One-click copy to clipboard
  • Keyboard shortcut: Ctrl + Enter for quick add

Tech Stack

Installation

Prerequisites

  • Node.js 20 and higher
  • npm or yarn

Steps

Clone the repository

git clone https://github.com/Hogwai/snippet-manager

Start the development server

npm install
npm run dev

Open in your browser

Go to http://localhost:3000

Web app: Important

This project uses the browser’s LocalStorage to save your snippets.

What this means

  • No server required – Everything runs locally
  • Private data – Your snippets stay on your machine
  • Fast and instant – No network latency
  • Not a credential manager - Your snippets are stored as a plain json on your browser

Limitations

  • No sync – Snippets are only available on the current browser/device
  • Risk of data loss – Clearing browser data or reinstalling the OS will erase them
  • Storage limit – LocalStorage is limited to about 5–10 MB per domain
  • No automatic backup – Export your snippets regularly

Supported Languages

  • French
  • English

Language can be switched via the toggle at the top right. Your preference is saved automatically.

Available Scripts

npm run dev      # Start in development mode
npm run build    # Build for production
npm start        # Start production server
npm run lint     # Run ESLint checks
npm run tauri:dev # Start tauri in dev mode
npm run tauri:build # Build the binaries

About

Snippet manager made with Next.js, lucide-react and tailwindcss. Available as web app and as a windows desktop application

Topics

Resources

License

Stars

Watchers

Forks