{"id":15403233,"url":"https://github.com/woodruffw/rsus","last_synced_at":"2025-03-28T01:18:23.286Z","repository":{"id":54154695,"uuid":"120056195","full_name":"woodruffw/rsus","owner":"woodruffw","description":"A really simple upload service.","archived":false,"fork":false,"pushed_at":"2022-11-22T03:33:09.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T23:06:46.188Z","etag":null,"topics":["crystal","web-service"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/woodruffw.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}},"created_at":"2018-02-03T03:32:56.000Z","updated_at":"2022-10-10T03:22:45.000Z","dependencies_parsed_at":"2022-08-13T07:50:23.242Z","dependency_job_id":null,"html_url":"https://github.com/woodruffw/rsus","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodruffw%2Frsus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodruffw%2Frsus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodruffw%2Frsus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodruffw%2Frsus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woodruffw","download_url":"https://codeload.github.com/woodruffw/rsus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245949734,"owners_count":20698926,"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":["crystal","web-service"],"created_at":"2024-10-01T16:06:50.198Z","updated_at":"2025-03-28T01:18:23.265Z","avatar_url":"https://github.com/woodruffw.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSUS\n\n![license](https://raster.shields.io/badge/license-MIT%20with%20restrictions-green.png)\n[![Build Status](https://img.shields.io/github/workflow/status/woodruffw/rsus/CI/master)](https://github.com/woodruffw/rsus/actions?query=workflow%3ACI)\n\nA really simple upload service.\n\n## Installation\n\n```\n$ git clone https://github.com/woodruffw/rsus \u0026\u0026 cd rsus\n$ shards build --production\n```\n\n## Usage\n\nSet up:\n\n```bash\n$ cp config.yml.example config.yml\n$ nano config.yml\n$ ./bin/rsus\n```\n\nHere are some Nginx proxy rules, if that's your kind of thing:\n\n```nginx\nlocation /i/ {\n        proxy_pass http://127.0.0.1:3000/u/;\n        proxy_set_header    Host              $host;\n        proxy_set_header    X-Real-IP         $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\n}\n\nlocation /upload/ {\n        proxy_pass http://127.0.0.1:3000/;\n        proxy_set_header    Host              $host;\n        proxy_set_header    X-Real-IP         $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\n}\n```\n\n...and use:\n\n```bash\n$ curl -F auth=\u003cyour-token\u003e -F file=\"@\u003cyour path\u003e\" \u003cyour endpoint\u003e\n```\n\n## TODO\n\n1. Maybe do de-duplication\n2. Maybe add a web interface\n4. Optional EXIF/tag stripping\n\n## Contributing\n\n1. Fork it (`https://github.com/woodruffw/rsus/fork`)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [woodruffw](https://github.com/woodruffw) William Woodruff - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodruffw%2Frsus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoodruffw%2Frsus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodruffw%2Frsus/lists"}