GlassBin is a dynamic web platform designed for sharing and managing code snippets, screenshots, and guides in markdown format. Built with Svelte and MongoDB, this tool offers an intuitive interface for users to quickly paste code, upload guides, and handle markdown documents.
- Text and Code Snippets: Allows users to paste and store various code snippets.
- Display Code Snippets: Users can view stored code snippets in a readable format.
- Copy/Clone Code Snippets: Offers functionality to copy or clone existing snippets.
- Functional Code Editor: An integrated code editor to create or edit snippets.
- Raw URLs: Allow for code snippets to be directly fetched without fancy HTML.
- Image/File Upload: Implementing functionality for users to upload images and files.
- Markdown Display: Rendering markdown snippets in formatted view rather than raw markdown.
- Download Images: Feature to download images directly from the platform.
- User Accounts: Allowing account creation for managing public/private snippets and files.
- MongoDB Community Edition: This project uses MongoDB as a database. Ensure you have MongoDB Community Edition installed and running.
- Node.js or Bun: Required to run Svelte.
- Clone the repository.
- Navigate to the project directory.
- Run
bun install
to install dependencies.
- Environment Variables: Create a
.env
file in the root directory and setMONGO_URL
to your MongoDB instance URI.
Execute bun run --bun dev
in the terminal within the project directory. This will start the development server for GlassBin.