[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81258":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":12,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":10,"rankLanguage":10,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":14,"starSnapshotCount":14,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},81258,"LiteGist","lockcp\u002FLiteGist","lockcp","LiteGist: A modern standalone pastebin service powered by Node.js & SQLite. Supports multi-file Gist management, Git-like version history, Sub-Store proxying, and subscription conversion. Fast, secure, and PWA-ready for an immersive \"Private Gist\" experience.","",null,"JavaScript",21,1,0,40.9,"GNU Affero General Public License v3.0",false,"main",true,[21,22,23,24,25,26,27,28,29,30],"gist","git-history","litegist","markdown-editor","pastebin","pwa","self-hosted","sqlite","sub-store","subscription-converter","2026-06-12 04:01:32","# LiteGist\n\n\u003Cdiv align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"admin\u002Ficon-192.png\">\n    \u003Cimg src=\"admin\u002Ficon-192.png\" alt=\"LiteGist app icon\" width=\"96\" height=\"96\">\n  \u003C\u002Fpicture>\n\n  \u003Cbr>\n  \u003Cbr>\n\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLanguage-Node.js-007aff?style=flat-square\" alt=\"Language\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocker-Ready-2496ed?style=flat-square\" alt=\"Docker\">\n  \u003Ca href=\"https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fagpl-3.0.html\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-AGPL--3.0-orange.svg?style=flat-square\" alt=\"License\">\n  \u003C\u002Fa>\n\u003C\u002Fdiv>\n\n[中文文档 (Chinese)](.\u002FREADME_zh.md)\n\nLiteGist is an extremely lightweight, experience-focused personal standalone pastebin service. Designed with a full-screen editor philosophy, it supports Markdown rendering, code highlighting, password protection, Gist-compatible multi-file management, and PWA support. It aims to provide you with a high-performance \"Private Gist\" sharing experience.\n\n---\n\n## ✨ Key Features\n\n- **🚀 Instant Sharing**: Open to a full-screen editor—write and share immediately.\n- **🗂️ Multi-file Gists**: Manage multiple files within a single share with Git-backed version history.\n- **🔌 Sub-Store Integration**: Native support for subscription conversion (Clash, Sing-box, etc.). Acts as a GitHub Gist API proxy.\n- **🔒 Privacy & Security**: Set access passwords, expiration dates, and custom slugs for your shares.\n- **📱 PWA Support**: Install as a standalone app on your phone or desktop for an immersive experience.\n- **🌓 Adaptive Theme**: Perfect support for Dark\u002FLight modes with smooth transitions.\n- **⚙️ Admin Dashboard**: Manage all your shares, gists, and server settings (Username, Password, API Key) directly from the UI.\n- **☁️ WebDAV Backup**: Automated or manual backups to your preferred cloud storage.\n- **⚡ High Performance**: Built with native `node:sqlite` and Gzip compression for blazing-fast page loads.\n\n---\n\n## 🚀 Quick Start\n\n### Method 1: Using Docker (Recommended)\n\nThe simplest and cleanest way to install.\n\n1. **Option A: Docker Compose (Recommended)**\n   Create a `docker-compose.yml` and run:\n   ```bash\n   docker-compose up -d\n   ```\n\n2. **Option B: Docker CLI**\n   ```bash\n   docker run -d \\\n     --name litegist \\\n     -p 3382:3382 \\\n     -v $(pwd)\u002Fdata:\u002Fapp\u002Fdata \\\n     -e ADMIN_USERNAME=admin \\\n     -e ADMIN_PASSWORD=your_password \\\n     lockcp\u002Flitegist\n   ```\n\n3. **Access & Logs**\n   - URL: `http:\u002F\u002Flocalhost:3382`\n   - Default Username: `admin`\n   - Default Password: `admin888`\n   \n   > **💡 Tip**: If you don't set an `API_KEY` in environment variables, a random one will be generated on startup. You can find it in the container logs:\n   \n   ```bash\n   docker logs litegist\n   ```\n\n### Method 2: Manual Installation\n\nEnsure you have **Node.js >= 22.5.0** installed.\n\n```bash\n# Install dependencies\nnpm install\n\n# Start the server\nnpm start\n```\n\n---\n\n## ⚙️ Environment Variables\n\nYou can customize the following variables in your `docker-compose.yml` or shell:\n\n| Variable | Description | Default |\n| :--- | :--- | :--- |\n| `PORT` | Server listening port | `3382` |\n| `ADMIN_USERNAME` | Admin username | `admin` |\n| `ADMIN_PASSWORD` | Admin login password | `admin888` |\n| `API_KEY` | Key for programmatic API access | (Randomly generated) |\n\n---\n\n## 🔌 API & Integration\n\nLiteGist provides a robust API for management and integration with tools like **Sub-Store**.\n\n- **Admin API**: `GET\u002FPOST \u002Fapi\u002Fv1\u002Fadmin\u002F...`\n- **Gist Proxy**: Supports GitHub-compatible paths for seamless proxying.\n- **Raw Access**: `\u002F:slug\u002Fraw` or `\u002Fgists\u002F:id\u002Fraw\u002F:filename`.\n- **Authenticated Raw**: `\u002Ftoken:\u003CTOKEN>\u002F...` for programmatic access to password-protected content.\n\nDetailed documentation: [API.md](.\u002FAPI.md) | [API_zh.md](.\u002FAPI_zh.md)\n\n---\n\n## 📄 License\n\nThis project is licensed under the **[GNU Affero General Public License v3.0](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fagpl-3.0.html)** (AGPL-3.0).\n\n- **Network Public Requirement**: If you provide access to this project or a modified version over a network, you must make the source code available to all users.\n- **Copyleft**: Any derivative works must also be licensed under AGPL-3.0.\n- **Attribution**: You must provide credit to the original author.\n\n---\n\n## Related Projects\n- [EdgeGist](https:\u002F\u002Fgithub.com\u002Fxream\u002FEdgeGist)\n\n  > Minimal GitHub Gist-compatible API service running on Cloudflare's edge network, backed by D1 and packaged for Cloudflare Pages.\n","LiteGist 是一个基于 Node.js 和 SQLite 的现代化独立粘贴板服务，支持多文件 Gist 管理、Git 版本历史记录、Sub-Store 代理和订阅转换。其核心功能包括即时分享、多文件管理、隐私保护、PWA 支持以及自适应主题等。该服务旨在为用户提供高性能的“私有 Gist”体验，特别适合需要快速、安全地共享代码片段或文本内容的个人开发者和技术团队使用。此外，通过 Docker 或手动安装的方式，用户可以轻松部署并运行 LiteGist。",2,"2026-06-11 04:04:05","CREATED_QUERY"]