Skip to content

A simple Python-based snippet manager for storing, organizing, and retrieving code snippets locally. Features a command-line interface, category/tag support, and a clean file structure for easy access and management.

Notifications You must be signed in to change notification settings

Alanesc2/Snippet-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippet Manager

This project is a Snippet Manager designed to help you store, organize, and retrieve code snippets efficiently. It is implemented in Python and aims to provide a simple interface for managing your code snippets locally.

Features

  • Add, view, and manage code snippets
  • Organize snippets by categories or tags
  • Store snippets in a local directory structure
  • Command-line interface for ease of use

Project Structure

  • snippet_manager.py: Main script containing the logic for managing snippets
  • snippets/: Directory where your code snippets are stored
  • requirements.txt: List of Python dependencies
  • .gitignore: Files and directories to be ignored by git
  • venv/: Python virtual environment (not included in version control)

Getting Started

  1. Clone the repository:
    git clone <repo-url>
    cd snippet
  2. Set up a virtual environment:
    python3 -m venv venv
    source venv/bin/activate
  3. Install dependencies:
    pip install -r requirements.txt
  4. Run the snippet manager:
    python snippet_manager.py

Requirements

  • Python 3.7+
  • See requirements.txt for dependencies

Contributing

Contributions are welcome! Please open an issue or submit a pull request for improvements or bug fixes.

License

This project is licensed under the MIT License.

About

A simple Python-based snippet manager for storing, organizing, and retrieving code snippets locally. Features a command-line interface, category/tag support, and a clean file structure for easy access and management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages