{"id":19339823,"url":"https://github.com/owaiswiz/devitary","last_synced_at":"2025-07-20T15:32:37.053Z","repository":{"id":84506492,"uuid":"243547220","full_name":"owaiswiz/devitary","owner":"owaiswiz","description":"Simple free static image hosting using firebase - Demo: https://devitary.herokuapp.com/","archived":false,"fork":false,"pushed_at":"2020-02-28T12:35:52.000Z","size":313,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T11:07:44.866Z","etag":null,"topics":["firebase","free-hosting","image-host","image-hosting","static-hosting"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owaiswiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-27T15:18:12.000Z","updated_at":"2025-01-21T04:16:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"3524d04e-da33-4133-bb12-8773cce08a67","html_url":"https://github.com/owaiswiz/devitary","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owaiswiz/devitary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaiswiz%2Fdevitary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaiswiz%2Fdevitary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaiswiz%2Fdevitary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaiswiz%2Fdevitary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owaiswiz","download_url":"https://codeload.github.com/owaiswiz/devitary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owaiswiz%2Fdevitary/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266151524,"owners_count":23884436,"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":["firebase","free-hosting","image-host","image-hosting","static-hosting"],"created_at":"2024-11-10T03:23:59.135Z","updated_at":"2025-07-20T15:32:37.024Z","avatar_url":"https://github.com/owaiswiz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# devitary\nA simple rails application with an API and a simple web interface to upload \u0026 host static files (Images, Fonts) or any other files with Google Firebase for free (refer [limits](https://firebase.google.com/docs/firestore/quotas)).\n## Deploying your own\n1. Create a firebase project - [Firebase Console](https://console.firebase.google.com/).\n2. Create a default storage bucket\n\t* Click Develop \u003e Storage \u003e Get Started \u003e Next \u003e Choose Location \u003e Done\n3. Download the credentials json file with private key from firebase console.\n\t* Click Settings Icon \u003e Project Settings \u003e Service Accounts \u003e Generate new private key \u003e Generate key\n4. Clone this repository\n\t\n\t``` \n\tgit clone https://github.com/owaiswiz/devitary.git\n\t```\n5. Set the environment variable ```STORAGE_CREDENTIALS``` with the content of the downloaded json file\n6. Run the server using ```rails s``` or deploy how you would deploy any other rails app\n\n# Using the API\nCreate a post request to ``` /upload``` with the file in the multipart form data body\n### Example\n```ruby\nresponse = HTTParty.post(\n\t'http://YOURHOSTEDIPORURL/upload', \n\tbody: {\n\t\tfile: File.open(\"/home/owaiswiz/Downloads/SashaSloan.png\")\n\t}\n)\njson = JSON.parse(response.body)\nputs json[\"url\"]  # =\u003e \"https://storage.googleapis.com/devitary-image-host.appspot.com/15828387941719051810-c.png\" \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowaiswiz%2Fdevitary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowaiswiz%2Fdevitary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowaiswiz%2Fdevitary/lists"}