Riverpass
A handy local disk based cache for hot content from remote storage.
Install / Use
/learn @rhinouser0/RiverpassREADME
<small> 简体中文 | English </small>
Riverpass | Documentation
A handy file cache service
$ wget http://localhost:getFile?url=$YOUR_REMOTE_URL
- Cache for hot content from remote cloud object storage(or public image)
- Extremely simple start and stop command, no heavy configuration
- Cache item persistence ability: previous items will be reloaded after server restart
Design
Docker Image
- Download Program Image: https://riverpass.oss-cn-shanghai.aliyuncs.com/images/oss.tar.
- Download Database Config:https://riverpass.oss-cn-shanghai.aliyuncs.com/images/data.tar
- Load Images
docker load -i oss.tar
- Load database config in
serverfolder
tar -xvf data.tar
HowTo
- How to use
- Enter
serverfolder, run./oss_docker_start.sh 100, '100' means cache size 100MB. Cache data default flushes to server/localfs_oss/ folder. - Use
wget <url>command, replacing host path by localhost and cache port. eg.:wget http://localhost:10009/getFile?url=https://raw.githubusercontent.com/open-mmlab/mmdeploy/master/resources/mmdeploy-logo.png - Run
./oss_docker_stop.shto stop the cache. Data will be left on disk. - Run
./oss_docker_restart.shto restart the cache, data and their metadata will be loaded.
- Enter
- How to build
- Enter
server/holderfolder, run./oss_start.shto build the go program and start server for debug.
- Enter
- How to contribute
Dependency
- MySQL 8.0
- Aliyun OSS SDK
Coming Soon
- CI and test coverage
- Stale metadata GC in DB
- OSS download optimization
- Object service from other cloud provider
- Cache eviction algorithm improvement
Contact Us
- Issue: this link
- Email: rhino_fs@163.com
License
Related Skills
qqbot-channel
353.3kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.7k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
353.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
