{"id":13831579,"url":"https://github.com/rhinouser0/riverpass","last_synced_at":"2025-07-09T15:32:22.219Z","repository":{"id":185872394,"uuid":"603042111","full_name":"rhinouser0/riverpass","owner":"rhinouser0","description":"A handy local disk based cache for hot content from remote storage.","archived":false,"fork":false,"pushed_at":"2023-08-04T13:39:57.000Z","size":10326,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-05T10:17:46.116Z","etag":null,"topics":["cache","caching","object-storage","oss","training-module"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhinouser0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-02-17T13:55:19.000Z","updated_at":"2023-08-07T10:40:50.000Z","dependencies_parsed_at":"2024-01-21T04:59:50.592Z","dependency_job_id":null,"html_url":"https://github.com/rhinouser0/riverpass","commit_stats":null,"previous_names":["rhinouser0/riverpass","rhinouser0/ryno","rhinouser0/cache_rhino"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhinouser0%2Friverpass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhinouser0%2Friverpass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhinouser0%2Friverpass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhinouser0%2Friverpass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhinouser0","download_url":"https://codeload.github.com/rhinouser0/riverpass/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225565857,"owners_count":17489272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","caching","object-storage","oss","training-module"],"created_at":"2024-08-04T10:01:31.810Z","updated_at":"2024-11-20T13:30:55.548Z","avatar_url":"https://github.com/rhinouser0.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003csmall\u003e [简体中文](README_zh.md) | English \u003c/small\u003e\n\n## Riverpass | [Documentation](docs/)\n[![GitHub license](https://img.shields.io/badge/license-apache--2--Clause-brightgreen.svg)](./LICENSE)\n\nA handy file cache service\n\n```bash\n$ wget http://localhost:getFile?url=$YOUR_REMOTE_URL\n```\n\n* Cache for hot content from remote cloud object storage(or public image)\n* Extremely simple start and stop command, no heavy configuration\n* Cache item persistence ability: previous items will be reloaded after server restart\n\n## Design\n[Detailed design document](docs/original-design-doc.md)\n\n\n\n## Docker Image\n* Download Program Image: [https://riverpass.oss-cn-shanghai.aliyuncs.com/images/oss.tar](https://riverpass.oss-cn-shanghai.aliyuncs.com/images/oss.tar).\n* Download Database Config:[https://riverpass.oss-cn-shanghai.aliyuncs.com/images/data.tar](https://riverpass.oss-cn-shanghai.aliyuncs.com/images/data.tar)\n* Load Images\n```bash\ndocker load -i oss.tar\n```\n* Load database config in `server` folder\n```bash\ntar -xvf data.tar\n```\n\n## HowTo\n* How to use\n  * Enter `server` folder, run `./oss_docker_start.sh 100`, '100' means cache size 100MB. Cache data default flushes to server/localfs_oss/ folder.\n  * Use `wget \u003curl\u003e` 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`\n  * Run `./oss_docker_stop.sh` to stop the cache. Data will be left on disk.\n  * Run `./oss_docker_restart.sh` to restart the cache, data and their metadata will be loaded.\n* How to build\n  * Enter `server/holder` folder, run `./oss_start.sh` to build the go program and start server for debug.\n* [How to contribute](docs/how-to-contribute.zh.md)\n\n## Dependency\n* MySQL 8.0\n* Aliyun OSS SDK\n\n## Coming Soon\n- CI and test coverage\n- Stale metadata GC in DB\n- OSS download optimization\n- Object service from other cloud provider\n- Cache eviction algorithm improvement\n\n## Contact Us\n  * Issue: [this link](https://github.com/rhinouser0/riverpass/issues)\n  * Email: rhino_fs@163.com\n\n## License\n- [Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhinouser0%2Friverpass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhinouser0%2Friverpass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhinouser0%2Friverpass/lists"}