- Fork the repository
- Create a new branch (
git checkout -b feature/foo) - Make your changes and test thoroughly
- Commit your changes (
git commit -m "Add feature foo") - Push to the branch (
git push origin feature/foo) - Open a Pull Request
- React – UI library
- TypeScript – Type safety
- Vite – Fast development bundler
- Tailwind CSS / PostCSS – Styling
- Add, edit, and delete code snippets
- Syntax highlighting for multiple languages
- Tag snippets for easy organization
- Search and filter snippets instantly
- Save favorite snippets for quick access
- Dark / Light theme toggle
- Local storage support for offline usage
src/
├── components/ # React components
│ ├── EmptyState.tsx
│ ├── Header.tsx
│ ├── SearchBar.tsx
│ ├── SnippetCard.tsx
│ ├── SnippetEditor.tsx
│ ├── SyntaxHighlighter.tsx
│ └── ThemeToggle.tsx
├── constants/ # Application constants
│ └── languages.ts
├── hooks/ # Custom React hooks
│ ├── useLocalStorage.ts
│ └── useTheme.ts
├── types/ # TypeScript type definitions
│ └── index.ts
├── utils/ # Utility functions
│ └── snippetStorage.ts
├── App.tsx # Main application component
├── index.css # Global styles
├── main.tsx # Application entry point
└── site-env.d.ts # Environment type definitions
- Clone the repository:
git clone https://github.com/kirubelm1/Code-Snippet-Organizer.git
cd Code-Snippet-Organizer- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn devOpen your browser and navigate to the URL shown in the terminal (e.g., http://localhost:5173/).
npm run build
# or
yarn buildPreview locally:
npm run preview
# or
yarn preview| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build production bundle |
npm run preview |
Preview production build |
npm run lint |
Run ESLint for code linting |
npm run typecheck |
Check TypeScript types without emitting files |
Contributions are welcome!
- Fork the repository
- Create a new branch (
git checkout -b feature/foo) - Make your changes and test thoroughly
- Commit your changes (
git commit -m "Add feature foo") - Push to the branch (
git push origin feature/foo) - Open a Pull Request
Please follow the existing code style and run lint & type checks before submitting.
MIT License
© 2025 Kirubel Mesfin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, subject to the conditions in the license.
- Vite – Bundler
- React – UI library
- Tailwind CSS – Styling

