{"id":18451792,"url":"https://github.com/skynewz/putio","last_synced_at":"2025-07-17T07:06:51.793Z","repository":{"id":65196422,"uuid":"260277774","full_name":"SkYNewZ/putio","owner":"SkYNewZ","description":"Put.io HTTP interface as Nginx format","archived":false,"fork":false,"pushed_at":"2024-09-03T20:56:39.000Z","size":393,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-20T01:31:08.726Z","etag":null,"topics":["go","http-server","packr","putio"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkYNewZ.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-04-30T17:43:07.000Z","updated_at":"2020-06-03T10:17:31.000Z","dependencies_parsed_at":"2025-02-16T13:50:03.661Z","dependency_job_id":"0830501c-bf22-4479-94fe-588f6f8b012f","html_url":"https://github.com/SkYNewZ/putio","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SkYNewZ/putio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkYNewZ%2Fputio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkYNewZ%2Fputio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkYNewZ%2Fputio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkYNewZ%2Fputio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkYNewZ","download_url":"https://codeload.github.com/SkYNewZ/putio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkYNewZ%2Fputio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265575511,"owners_count":23790780,"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":["go","http-server","packr","putio"],"created_at":"2024-11-06T07:29:38.312Z","updated_at":"2025-07-17T07:06:51.732Z","avatar_url":"https://github.com/SkYNewZ.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Put.io HTTP interface\n\n![putio](https://put.io/images/nav-logo-black.png)\n\nThis tool is an index directory listing as Nginx format for your Put.io files. Its supported navigation like Nginx too.\nFor each file found, a download/streaming link is generated.\n\n⚠️ Unfortunately, this application does not work self-hosted. I knew during one of my deployments that the generated download/streaming links were only valid for the IP that requested them. Concretely, if you deploy it in your local network, it will have the expected behavior. If you deploy it on a remote server and you want to consume a download/streaming link, Put.io will ask for an additional authentication because your IP is different from the remote server. https://app.swaggerhub.com/apis-docs/putio/putio/2.7.1#/files/get_files__id__url.\n\n![index](img/index.png)\n\nMy instance is hosted on Google Cloud Run and I store users in Google Cloud Firestore.\n\n## Features\n\n- Use a Put.io OAuth token. You must set `PUT_IO_TOKEN=XXX`\n- Ofuscation URI for a minimum of privacy. You must set `OFUSCATION_TOKEN=XXXX`\n- Cache response (enable by default, can be disable with `NO_CACHE=1`)\n- HTTP Basic auth (enable by default, can be disable with `NO_AUTH=1`)\n- Store encrypted users passwords in Google Cloud Firestore (need `GOOGLE_CLOUD_PROJECT` of your Firestore project in authentication is enable)\n- Support Google Stackdriver logging format using https://github.com/joonix/log\n\n## Deploy with Docker\n\n```bash\n$ docker run -itd --name putio -e PUT_IO_TOKEN=XXX -e NO_AUTH=1 -e OFUSCATION_TOKEN=XXXX -p 127.0.0.1:8080:8080 skynewz/putio\n```\n\nHomepage URL is `http://localhost:8080/\u003cOFUSCATION_TOKEN\u003e/0`. `0` is the root folder ID.\n\n## Standalone binary\n\nTo avoid setting environment variables during run (e.g. create a sharable binary for your friends who will be able to launch it with nothing to configure), you can build this application by inserting the necessary credentials.\n\n```bash\n$ go build -tags embedded -ldflags=\"-X 'main.putIOToken=XXXX'\" .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskynewz%2Fputio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskynewz%2Fputio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskynewz%2Fputio/lists"}