Snippet Monster is a web application designed to help developers organise and manage their commonly used code snippets efficiently. This small passion project was built at the end of my internship at Vucar, serving as a culmination of the skills I learned and applied during my time there. As someone who often copies and pastes commonly used pieces of code—such as terminal commands and self-designed React components—into notes apps, I created Snippet Monster to streamline the process of storing and retrieving code snippets. I was also curious about how my favourite notes apps, such as Notion, work, and hence I built Snippet Monster as a simplified editor and storage system with basic features, to gain a deeper understanding of the underlying mechanisms that power such applications.
Try it out here! https://snippet-monster.vercel.app/ 💜
- Organized Snippet Management: Store code snippets with titles, descriptions, tags, and code previews.
- Efficient Search: Quickly find snippets using keywords or tags.
- User Authentication: Securely log in and manage your own snippets.
- Autosave: Real-time saving of your snippets as you type.
- Responsive Design: A user-friendly interface that adapts to all devices.
- Snippet Sharing: (Coming Soon) Share your snippets with others easily.
- Folder Hierarchies: (Coming Soon) Organize your snippets into folders.
- Frontend: React, TypeScript, Tailwind CSS, Shadcn UI
- Backend and Auth: Supabase (PostgreSQL), Drizzle ORM, Node.js
- Deployment: Vercel, but was also successfully attempted with Nginx and AWS EC2
To run Snippet Monster locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/snippet-monster.git cd snippet-monster
-
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env
file in the root directory with the following:VITE_SUPABASE_URL=your-supabase-url VITE_SUPABASE_ANON_KEY=your-supabase-anon-key
-
Run the development server:
npm run dev
-
Open your browser:
Visit
http://localhost:8083
to see Snippet Monster in action.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you choose to fork or clone this repository, please give me proper credit by linking back to my github here: jolwnn. I put significant time and effort in designing and building the application, and your acknowledgment is greatly appreciated. Thanks! 💜