{"id":23114395,"url":"https://github.com/justsharan/imagehoster","last_synced_at":"2025-04-04T00:43:44.182Z","repository":{"id":130338241,"uuid":"419514764","full_name":"justsharan/imagehoster","owner":"justsharan","description":"A basic image hosting service you can run yourself.","archived":false,"fork":false,"pushed_at":"2021-10-20T23:23:33.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T12:31:10.987Z","etag":null,"topics":["go","golang","image","sharex","sharex-server","uploader"],"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/justsharan.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":"2021-10-20T23:04:32.000Z","updated_at":"2021-11-15T20:39:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"d648a4b6-0052-4af7-a358-c932df90c61e","html_url":"https://github.com/justsharan/imagehoster","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/justsharan%2Fimagehoster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justsharan%2Fimagehoster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justsharan%2Fimagehoster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justsharan%2Fimagehoster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justsharan","download_url":"https://codeload.github.com/justsharan/imagehoster/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103306,"owners_count":20884023,"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","golang","image","sharex","sharex-server","uploader"],"created_at":"2024-12-17T03:30:15.526Z","updated_at":"2025-04-04T00:43:44.166Z","avatar_url":"https://github.com/justsharan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imagehoster\nThis is a really simple utility you can use to serve images from your own domain. Think of it like your own, personal imgur.\n\nAll the other GitHub repos I found were awfully bloated for my use case, so I just decided to make my own. It's extremely fast, extensible, and written in less than 100 lines of Go.\n\n### Setup\nOnce you build the utility, you just need to set these things:\n\n * `$USAGE_KEY` (env) : Authorization header that it looks for in POST requests\n * `-p` (flag) : Port that the utility listens to (Default: `4000`)\n * `-dir` (flag) : Directory where images will be stored (Default: `./uploads/`)\n\n### Usage\nThe utility is used entirely through its REST endpoints:\n\n| Request        | Description                           |\n|----------------|---------------------------------------|\n| `GET /:image`  | Gets an image identified by that tag. |\n| `POST /upload` | Creates a new image.                  |\n\n### Tips\n1. This utility is ShareX-friendly. You can use the information above to add it as a private ShareX endpoint in your settings (I'm not on Windows so I wouldn't know much about actually configuring this, though).\n2. If you want to include a landing page when the user hits `/`, just add an `index.html` file in that directory.\n\n### License\nRefer to the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustsharan%2Fimagehoster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustsharan%2Fimagehoster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustsharan%2Fimagehoster/lists"}