{"id":20929727,"url":"https://github.com/whitebrick/fileslide-streamer","last_synced_at":"2025-10-04T02:55:00.439Z","repository":{"id":73573712,"uuid":"299690021","full_name":"whitebrick/fileslide-streamer","owner":"whitebrick","description":"Open Source drop-in service for downloading multiple files as a single zip stream","archived":false,"fork":false,"pushed_at":"2022-01-14T07:01:33.000Z","size":2485,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T09:52:55.159Z","etag":null,"topics":["downloader","micorservice","sinatra","streaming","zip"],"latest_commit_sha":null,"homepage":"https://fileslide.io","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whitebrick.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-29T17:29:13.000Z","updated_at":"2023-08-07T10:33:36.000Z","dependencies_parsed_at":"2023-04-03T15:49:26.756Z","dependency_job_id":null,"html_url":"https://github.com/whitebrick/fileslide-streamer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/whitebrick/fileslide-streamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitebrick%2Ffileslide-streamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitebrick%2Ffileslide-streamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitebrick%2Ffileslide-streamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitebrick%2Ffileslide-streamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitebrick","download_url":"https://codeload.github.com/whitebrick/fileslide-streamer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitebrick%2Ffileslide-streamer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278258356,"owners_count":25957281,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["downloader","micorservice","sinatra","streaming","zip"],"created_at":"2024-11-18T21:23:25.545Z","updated_at":"2025-10-04T02:55:00.421Z","avatar_url":"https://github.com/whitebrick.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fileslide-streamer\n\nOpen Source drop-in service for downloading multiple files as a single zip stream.\n\n#### Say you have these 2 files on the web:\n\n- [https://my-test-data-1.s3.amazonaws.com/central-park-bike-map.pdf](https://my-test-data-1.s3.amazonaws.com/central-park-bike-map.pdf) (~1MB)\n- [https://s3.wasabisys.com/my-test-data-2/earth.mp4](https://s3.wasabisys.com/my-test-data-2/earth.mp4) (~1.5MB)\n\n#### FileSlide lets your clients stream a ZIP download from a simple POST request:\n\n```html\n\u003cform action=\"https://fileslide.io/download\" method=\"post\"\u003e\n  \u003cinput type=\"hidden\" name=\"fs_file_name\" value=\"demo_download.zip\" /\u003e\n  \u003cinput\n    type=\"hidden\"\n    name=\"fs_uri_list[]\"\n    value=\"https://my-test-data-1.s3.amazonaws.com/central-park-bike-map.pdf\"\n  /\u003e\n  \u003cinput\n    type=\"hidden\"\n    name=\"fs_uri_list[]\"\n    value=\"https://s3.wasabisys.com/my-test-data-2/earth.mp4\"\n  /\u003e\n  \u003cinput type=\"submit\" value=\"Download Zip of 2 Files\" /\u003e\n\u003c/form\u003e\n```\n\n## Try the demo [https://hello.fileslide.io/](https://hello.fileslide.io/)\n\nFileSlide Streamer is a Ruby Sinatra HTTP server that: (1) receives a POST request containing a list of file URIs; (2) saves and redirects to a GET request; (3) downloads and zips the listed files in parallel; and (4) returns a single zip file.\n\n![Sequence Diagram](doc/fileslide-streamer-seq-diagram.png)\n\n- See official documentation here: [https://hello.fileslide.io/docs](https://hello.fileslide.io/docs)\n\n## Getting Started\n\nFileSlide Streamer is a Ruby Sinatra application.\n\nRunning locally requires the following:\n\n- Ruby \u003e= 2.6.6\n- Redis DB\n\nThe [rerun](https://github.com/alexch/rerun) gem is also recommended for development\n\nTo get started:\n\n- Clone the [repository](https://github.com/whitebrick/fileslide-streamer)\n- Copy the env file `mv .env.example .env`\n- Update `REDIS_URI` in the `.env` file\n- `bash scripts/start_dev.sh` to start the server\n\nTo run the demo with remote files and the remote test Authorization and Reporting endpoints:\n\n- Open `test/static/local/demo.html` with a web browser\n\nTo run the demo with local files and the local demo Authorization and Reporting endpoints:\n\n- `bash scripts/start_dev.sh` to start the server\n- `bash scripts/start_test_file_server.sh` to start the local file server (serves from `test/file_server/files`)\n- `bash scripts/start_test_upstream_server.sh` to start the local Authorization and Reporting server\n- Update the `.env` file and set `AUTHORIZATION_ENDPOINT=http://localhost:9294/authorize` and\n  `REPORT_ENDPOINT=http://localhost:9294/report`\n- Open `test/static/local/demo.html` with a web browser\n\n## Testing\n\nTo run the test suite, `cd test` then run `bundle exec rspec` from the root folder of the repo. For testing the zip streaming, the test suite covers starts up a second Puma process to deliver static files from spec/fixtures. You can extend this server with extra static files or custom endpoints as needed.\n\n## Documentation\n\n- See official documentation here: [https://hello.fileslide.io/docs](https://hello.fileslide.io/docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitebrick%2Ffileslide-streamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitebrick%2Ffileslide-streamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitebrick%2Ffileslide-streamer/lists"}