{"id":18377850,"url":"https://github.com/nafeu/pseudo-storage","last_synced_at":"2025-08-28T04:39:48.247Z","repository":{"id":99625272,"uuid":"103799519","full_name":"nafeu/pseudo-storage","owner":"nafeu","description":"A deployable CDN-like image storage solution made to assist in testing or developing applications that rely on quick image-upload url references.","archived":false,"fork":false,"pushed_at":"2017-09-20T00:08:00.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T13:13:24.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nafeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-09-17T03:11:14.000Z","updated_at":"2018-07-01T20:29:35.000Z","dependencies_parsed_at":"2023-05-25T13:31:05.343Z","dependency_job_id":null,"html_url":"https://github.com/nafeu/pseudo-storage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nafeu/pseudo-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fpseudo-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fpseudo-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fpseudo-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fpseudo-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nafeu","download_url":"https://codeload.github.com/nafeu/pseudo-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fpseudo-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272439639,"owners_count":24935422,"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-08-28T02:00:10.768Z","response_time":74,"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":[],"created_at":"2024-11-06T00:29:28.393Z","updated_at":"2025-08-28T04:39:48.211Z","avatar_url":"https://github.com/nafeu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\u003cimg src=\"http://phrakture.com/images/github/pseudo-storage-icon-updated.png\" width=\"72\" height=\"72\" valign=\"middle\"/\u003epseudo-storage\u003c/h1\u003e\n\nA simple PHP based image uploader for dev use only. Built to provide a temporary CDN-like image storage solution to assist in testing or developing a separate application.\n\n\u003cimg alt=\"GRYT Skill Tracker Screenshot\" src=\"http://phrakture.com/images/github/pseudo-storage-screenshot.png\" width=\"400\" valign=\"middle\"/\u003e\n\n**Warning:** Quite safe for local development, not neccessarily secure on a production site, use with caution.\n\n### Features\n\n- Currently only supports image uploads (jpg, png, jpeg, gif)\n- Click to upload, drag and drop, or paste image from clipboard\n- Generates URL, formatted HTML `img` tag or formatted Markdown `![]()` image\n- Customizable image prefixes, file size limit, and classes\n- Great for testing/developing a separate app that requires basic object storage\n\n### Requirements\n\n- PHP \u003e= 5.4\n\n### Installation / Usage\n\n```\ngit clone https://github.com/nafeu/pseudo-storage.git\ncd pseudo-storage\ncp sample-config.php config.php\n```\n\nOpen `config.php` in your editor of choice and adjust the config variables accordingly.\n\nFor `authentication_token`, I would recommend generating a token. You can use an online tool like [RandomKeygen](https://randomkeygen.com/) or just do it in your command line (Check out [this](https://www.howtogeek.com/howto/30184/10-ways-to-generate-a-random-password-from-the-command-line/) article for details). If you have `openssl` installed, then you can do:\n\n```\nopenssl rand -base64 32\n```\n\nSave the returned token in your `config.php` and make sure to save it somewhere else for your own access. This token will allow you to upload files. Now you can start up a PHP development server with:\n\n```\nphp -S localhost:8000\n```\n\nWhere `localhost:8000` matches the `base_url` value of `http://localhost:8000` in `config.php`.\n\nNow you can access `http://localhost:8000`, input the authentication token and, begin uploading images (either by pasting from clipboard, dragging and dropping from a file browser or clicking to upload) and use the returned URL, formatted html `img` tag or markdown image in a separate project.\n\n### Deployment\n\nUpload all the contents of the `pseudo-storage` root folder to your hosting server. Give the `uploads/` folder public `777` permissions **(WARNING: Do this step at your own risk)**.\n\n### Author\n\nNafeu Nasir\n\n### License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafeu%2Fpseudo-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnafeu%2Fpseudo-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafeu%2Fpseudo-storage/lists"}