{"id":26781922,"url":"https://github.com/mwt/mwt-share-php","last_synced_at":"2026-04-18T01:02:33.054Z","repository":{"id":143360275,"uuid":"615496009","full_name":"mwt/mwt-share-php","owner":"mwt","description":"A barebones PHP reimplementation of 0x0.st for use on shared hosting.","archived":false,"fork":false,"pushed_at":"2024-06-26T03:49:16.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T08:18:46.561Z","etag":null,"topics":["file-sharing","file-upload","link-shortener","php"],"latest_commit_sha":null,"homepage":"https://mwt.sh","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mwt.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":"2023-03-17T20:44:46.000Z","updated_at":"2024-06-26T20:18:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"3120667c-d5be-4dac-ae46-5d93816b0165","html_url":"https://github.com/mwt/mwt-share-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mwt/mwt-share-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwt%2Fmwt-share-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwt%2Fmwt-share-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwt%2Fmwt-share-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwt%2Fmwt-share-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwt","download_url":"https://codeload.github.com/mwt/mwt-share-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwt%2Fmwt-share-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31952208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["file-sharing","file-upload","link-shortener","php"],"created_at":"2025-03-29T08:18:49.698Z","updated_at":"2026-04-18T01:02:33.028Z","avatar_url":"https://github.com/mwt.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MWT Share PHP Version\n\n![Screenshot](screenshot.png)\n\nThis is a barebones PHP reimplementation of [the nullpointer](https://0x0.st/) file-sharing and link-shortening service by Mia Herkt. Unlike the original, this version is intended to be used on shared hosting and does not require a database. This version also does no file verification or filtering. It is not recommended to leave this service open to the public. The original version can be found [here](https://mwt.sh). Unlike the nullpointer, this version requires a username and password to upload files or shorten links.\n\n## Installation\n\nThis project will only work on a web server that supports `.htaccess` files such as Apache or Litespeed. This project is not compatible with Nginx, caddy, or any server where `.htaccess` support is not enabled.\n\nTo install this project:\n\n1. Clone this repository to your web server.\n2. Run `./install.sh` to configure password authentication. You may rerun this script to change the password(s) or add additional users.\n3. Symlink your document root to the `public_html` directory or move the contents of `public_html` to your document root.\n\n## Removing Files\n\nYou can delete files manually from the `f` directory. There is no database to keep track of files. So, there is no additional cleanup required. Shortened URLs can be deleted by removing the corresponding folder in the `l` directory.\n\n## CLI Usage\n\nThis project is fully compatible with command line tools that support nullpointer such as [pb](https://github.com/jamestomasino/pb). You can also use `curl` directly.\n\n### HTTP POST files here\n\n```bash\ncurl -F'file=@yourfile.png' https://user:pass@mwt.sh\n```\n\n### Or you can shorten URLs:\n\n```bash\ncurl -F'shorten=https://www.matthewthom.as/' https://user:pass@mwt.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwt%2Fmwt-share-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwt%2Fmwt-share-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwt%2Fmwt-share-php/lists"}