{"id":27168956,"url":"https://github.com/mkuhlmann/top-secret","last_synced_at":"2025-10-11T05:32:25.601Z","repository":{"id":157546025,"uuid":"135212413","full_name":"mkuhlmann/top-secret","owner":"mkuhlmann","description":"lightweight screenshot sharing, playground to learn good php practises","archived":false,"fork":false,"pushed_at":"2022-09-06T17:13:36.000Z","size":314,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-11T05:31:57.437Z","etag":null,"topics":["file-sharing","file-upload","hosting","image-sharing","php","productivity","screenshot","sharing"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/mkuhlmann.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-28T21:50:55.000Z","updated_at":"2022-04-28T14:35:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca24712f-2f99-41d3-a677-d1e41b43ba6b","html_url":"https://github.com/mkuhlmann/top-secret","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkuhlmann/top-secret","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuhlmann%2Ftop-secret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuhlmann%2Ftop-secret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuhlmann%2Ftop-secret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuhlmann%2Ftop-secret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkuhlmann","download_url":"https://codeload.github.com/mkuhlmann/top-secret/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuhlmann%2Ftop-secret/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006320,"owners_count":26084085,"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-10-11T02:00:06.511Z","response_time":55,"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":["file-sharing","file-upload","hosting","image-sharing","php","productivity","screenshot","sharing"],"created_at":"2025-04-09T06:22:11.856Z","updated_at":"2025-10-11T05:32:25.595Z","avatar_url":"https://github.com/mkuhlmann.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Usage\n\nInstall manually or via docker (preferred) and open op the web ui. Enter \"password#\" to login (there is no visible password field, just type it and hit enter). \n\n⚠️ Be sure to change apiKey and login password after first login! ⚠️\n\n#  Installing \n\n## Docker\n\nRun the container using the following command:\n\n```bash\ndocker run -d --name top-secret -p 9000:80 \\\n  -v /path/to/storage:/www/top-secret/storage \\\n  mkuhlmann/top-secret\n```\n\n\n## From scratch\n\nClone the repository, install the dependencies via `composer install` or simply run `php update.php`. \n\nOptionally, you are able to preconfigure any settings by creating a `storage/config.php` file with the same structure as the `config/default.php` file to configure the service. Everything should be configurable trough the web ui though. Defalt password is \"password#\", just type it in on the landing page.\n\nUpdating is as simple as running a `git clone`.\n\nSample nginx configuration with https.\n\n```\nserver {\n        listen 80;\n        server_name YOUR_DOMAIN;\n\n        rewrite ^ https://$http_host$request_uri? permanent;\n}\n\nserver {\n        listen 443 ssl http2;\n        ssl on;\n        ssl_certificate /etc/nginx/ssl/top-secret.crt;\n        ssl_certificate_key /etc/nginx/ssl/top-secret.key;\n\n        server_name YOUR_DOMAIN;\n\n        root /var/www/YOUR_DOMAIN/public;\n\n        index index.php;\n        client_max_body_size 100m;\n\n\n        location / {\n                try_files $uri $uri/ /index.php$is_args$args;\n        }\n\n        location ~ ^/index.php$ {\n                fastcgi_split_path_info ^(.+\\.php)(/.+)$;\n                fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;\n                fastcgi_index index.php;\n                include fastcgi_params;\n                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n        }\n\n        location /protected_uploads {\n            internal;\n            alias /var/www/YOUR_DOMAIN/storage/uploads;\n        }\n}\n```\n\n\n# Developing\n\nInstall as seen above and start the development server with\n\n```bash\nphp -S 127.0.0.1:8080 -t public server.php\n```\n\nPull requests are *very* welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkuhlmann%2Ftop-secret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkuhlmann%2Ftop-secret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkuhlmann%2Ftop-secret/lists"}