Skip to content

recode — Save. Search. Share. A lightweight Next.js snippet manager with syntax highlighting and tag filters.

License

Notifications You must be signed in to change notification settings

Omar8345/recode

Repository files navigation

Regexly Banner

recode

Your Personal Snippet Brain.
Save. Search. Share.

Read the launch story →

Sponsor recode Recode Visits


🚀 Features

  • 🗂️ Organized Snippet Library: Save, tag, and filter your go‑to code snippets in seconds.
  • 🔍 Command Palette Search: Open the global search (⌘/Ctrl + K) to jump straight to the snippet you need.
  • 🔐 Secure by Default: Appwrite Auth protects every snippet with per-user permissions.
  • 🎯 Built for Flow: Fast, responsive dashboard with syntax highlighting and keyboard shortcuts.
  • 💻 Open Source: MIT licensed. Fork it, remix it, ship it.

🛠️ Getting Started

git clone https://github.com/omar8345/recode.git
cd recode
npm install
npm run dev

Then open http://localhost:3000 in your browser.

Need to connect your own Appwrite project? Follow the Appwrite setup guide to configure API keys, database IDs, and environment variables.


📤 Import / Export JSON format

The dashboard lets you export all snippets to a .json file and bulk import from the same format. Each snippet in the JSON array uses this shape:

[
  {
    "title": "Readable snippet title",
    "code": "// raw code as a single string",
    "language": "typescript",
    "tags": ["ui", "hooks"]
  }
]
  • title (string) – required.
  • code (string) – required.
  • language (string) – optional; when omitted we auto-detect the language during import.
  • tags (string array) – optional; defaults to an empty list when missing.

Any invalid entries are skipped; you’ll get a toast with the number of imported snippets once processing completes.


📦 Tech Stack

  • Next.js 15
  • TypeScript
  • Tailwind CSS & shadcn/ui
  • Appwrite
  • Framer Motion

🤝 Contributing

Pull requests are welcome! For major changes, open an issue first so we can align on direction before you dive in.


📧 Contact


Appwrite Powered by Appwrite

About

recode — Save. Search. Share. A lightweight Next.js snippet manager with syntax highlighting and tag filters.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •