
Drift
Drift is a self-hostable Gist clone, built with Next.js 13 and React Server Components, for saving and sharing code snippets securely.

Drift: Self-Hostable Gist Clone for Code Snippets
Drift offers a self-hostable solution mimicking GitHub Gist, enabling developers to easily save, manage, and share code snippets and text. Built with Next.js 13 and React Server Components, it provides a functional platform for private, public, or password-protected pastes. This beta project delivers core Gist-like functionalities for individuals or teams prioritizing control and self-hosting, ensuring data privacy and customizable deployment options for efficient code management.
Features:
- Self-Hostable Platform: Deploy and manage your own Gist-like service for full data control.
- Modern Tech Stack: Built with Next.js 13's app directory and React Server Components.
- Flexible Post Privacy: Create private, public, password-protected, and unlisted posts.
- Syntax Highlighting: Automatic code highlighting for various programming languages.
- Expiring Posts: Option to set an expiration duration for shared snippets.
- Responsive User Interface: Optimized for seamless viewing on various devices and screen sizes.
- User Authentication: Supports credential-based login and user account management.
- GitHub OAuth SSO: Allows users to sign in using their GitHub accounts for streamlined access.
- File Downloads: Download individual files or entire multi-file posts easily.
- Password-Protected Posts: Secure specific posts with a unique password for restricted access.
- PostgreSQL Backend: Utilizes Prisma ORM with a PostgreSQL database for robust data storage.
- Administrator Controls: Manage the instance through an administrator account and dedicated settings.
- Customizable Homepage: Define custom welcome content and title for the instance's main page via environment variables.
- Docker Support: Includes configurations for running with Docker and docker-compose for simplified deployment.
- Registration Password Protection: Optionally secure new account registrations with a password when using credential authentication.
Summary:
Drift is a robust, self-hostable Gist alternative empowering developers to securely manage and share code snippets. Leveraging Next.js 13 and React Server Components, it offers features like varied post privacy, syntax highlighting, user authentication (including GitHub OAuth), and administrative controls. It is ideal for users seeking a private, customizable paste service with modern web technologies, offering a functional and evolving platform for code sharing needs.

Similar to Drift:


