分享一个GitHub图床项目

RustPic

High-Performance GitHub Image Hosting Solution

GitHub 图床解决方案


RustPic is a lightweight, high-performance image hosting solution written in Rust. It leverages your GitHub repository as storage, providing a fast and free way to host images and files for your blogs, websites, or personal use.

RustPic 是一个基于 Rust 编写的轻量级、高性能图床解决方案。它利用你的 GitHub 仓库作为存储后端,为你的博客、网站或个人使用提供快速且免费的图片和文件托管服务。

✨ Features / 功能特性

  • 🚀 High Performance / 高性能
    Built with Rust and Axum for blazing fast speeds.
    基于 Rust 和 Axum 构建,速度极快。
  • 📦 GitHub Storage / GitHub 存储
    Uses your GitHub repository for unlimited, free storage.
    使用 GitHub 仓库作为存储,无限且免费。
  • CDN Acceleration / CDN 加速
    Automatically generates jsDelivr CDN links for fast global access.
    自动生成 jsDelivr CDN 链接,实现全球快速访问。
  • 📂 File Support / 文件支持
    Supports uploading images (JPG, PNG, GIF, WEBP, HEIC) and other files (PDF, ZIP, etc.).
    支持上传图片(JPG, PNG, GIF, WEBP, HEIC)和其他文件(PDF, ZIP 等)。
  • 🔒 Secure / 安全可靠
    Supports both GitHub OAuth and Personal Access Token (PAT) authentication.
    支持 GitHub OAuth 和个人访问令牌 (PAT) 两种认证方式。
  • 📱 Responsive UI / 响应式界面
    Beautiful, glassmorphism-inspired UI that works perfectly on desktop and mobile.
    精美的玻璃拟态 UI 设计,完美适配桌面和移动端。

📸 Screenshots / 界面预览

Login Page / 登录页

Login Page

Dashboard / 仪表盘

Dashboard

🛠️ Installation / 安装使用

You can easily deploy RustPic by cloning the repository and running it with Cargo:

你可以通过克隆仓库并使用 Cargo 运行来轻松部署 RustPic:

git clone https://github.com/chatgptuk/rustpic.git
cd rustpic
cargo run --release

Open your browser at http://localhost:3002

在浏览器中打开 http://localhost:3002

Ready to try it out? / 准备好尝试了吗?

Star on GitHub
Previous Post
No Comment
Add Comment
comment url