{"id":13564886,"url":"https://github.com/ScriptSmith/depot","last_synced_at":"2025-04-03T22:30:20.104Z","repository":{"id":57613900,"uuid":"198780600","full_name":"ScriptSmith/depot","owner":"ScriptSmith","description":"Object storage microservice. Like minio but minnier.","archived":false,"fork":false,"pushed_at":"2019-09-17T04:01:48.000Z","size":56,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T10:22:10.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/ScriptSmith.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":"2019-07-25T07:28:20.000Z","updated_at":"2024-08-12T19:51:22.000Z","dependencies_parsed_at":"2022-09-11T01:00:30.885Z","dependency_job_id":null,"html_url":"https://github.com/ScriptSmith/depot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptSmith%2Fdepot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptSmith%2Fdepot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptSmith%2Fdepot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptSmith%2Fdepot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScriptSmith","download_url":"https://codeload.github.com/ScriptSmith/depot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247089568,"owners_count":20881795,"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":[],"created_at":"2024-08-01T13:01:37.510Z","updated_at":"2025-04-03T22:30:19.771Z","avatar_url":"https://github.com/ScriptSmith.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"assets/logo.png\" height=\"150\"\u003e\n\u003c/p\u003e\n\n# Depot\n\n[![Build Status](https://travis-ci.org/ScriptSmith/depot.svg?branch=master)](https://travis-ci.org/ScriptSmith/depot)\n[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/scriptsmith/depot)](https://hub.docker.com/r/scriptsmith/depot)\n\nA fast and simple HTTP server to store files from scraping and processing jobs.\n\nDepot is designed to be used with an attached disk as a 'quick and dirty' object storage microservice.\n\n[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://console.cloud.google.com/cloudshell/editor?shellonly=true\u0026cloudshell_image=gcr.io/cloudrun/button\u0026cloudshell_git_repo=https://github.com/scriptsmith/depot.git)\n\n## Features\n- Download files with a GET request\n- Upload files with a PUT request\n- Remove files with a DELETE request\n- Download a zipped copy of a job's files\n- Uploading tool: [todepot](https://github.com/scriptsmith/todepot)\n\n\n## Build\n```\ngo get -v github.com/scriptsmith/depot\ngo build -v github.com/scriptsmith/depot\n```\n\n## Run\nCreate a root directory, or pick an existing one:\n\n```\n# mkdir /tmp/dr\nexport DEPOT_ROOT=/tmp/dr\n```\n\nRun\n\n```\ngo run github.com/scriptsmith/depot\n```\n\n```\n$ ./depot\n2019/07/25 17:13:03 running at http://127.0.0.1:8080\n```\n\nAccess the page to see instructions and a list of current jobs\n\n## Environment variables\n|Name                    |Required|Usage                                    |\n|------------------------|--------|-----------------------------------------|\n|`DEPOT_ROOT`            |**Yes** |Path to the root directory to store files|\n|`DEPOT_USER`            |No      |Username for basic access authentication |\n|`DEPOT_PASS`            |No      |Password for basic access authentication |\n|`DEPOT_DISABLE_DELETION`|No      |Disable the `DELETE` request             |\n\n## Docker\n\nRun `scriptsmith/depot` and forward port `8080`\n```\ndocker run -p 8080:8080 scriptsmith/depot\n```\n\nUse authentication and attach dir on host:\n\n```\ndocker run -p 8080:8080 \\\n -e DEPOT_USER=depot \\\n -e DEPOT_PASS=pass \\\n -v /tmp/dr:/data \\\n scriptsmith/depot\n```\n\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScriptSmith%2Fdepot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FScriptSmith%2Fdepot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScriptSmith%2Fdepot/lists"}