{"id":26618741,"url":"https://github.com/maratsh/getsecure","last_synced_at":"2026-04-30T00:35:06.419Z","repository":{"id":57434077,"uuid":"80302298","full_name":"maratsh/getsecure","owner":"maratsh","description":"Utility for securing expiring links","archived":false,"fork":false,"pushed_at":"2024-08-06T11:48:41.000Z","size":31,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T16:48:06.373Z","etag":null,"topics":["links","nginx","secure"],"latest_commit_sha":null,"homepage":"","language":"Python","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/maratsh.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":"2017-01-28T18:32:20.000Z","updated_at":"2024-08-06T11:48:45.000Z","dependencies_parsed_at":"2024-08-06T13:27:28.876Z","dependency_job_id":null,"html_url":"https://github.com/maratsh/getsecure","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":0.5,"last_synced_commit":"f5ccf8f745811582618d167c7a5a7d3d7f3fddb9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maratsh%2Fgetsecure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maratsh%2Fgetsecure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maratsh%2Fgetsecure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maratsh%2Fgetsecure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maratsh","download_url":"https://codeload.github.com/maratsh/getsecure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245165750,"owners_count":20571375,"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":["links","nginx","secure"],"created_at":"2025-03-24T08:52:04.201Z","updated_at":"2026-04-30T00:35:03.936Z","avatar_url":"https://github.com/maratsh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# getsecure\n\nUtility for securing expiring links\n\n## Usage\n\n### Add to nginx vhost secure location section like this\n\n```nginx\n    location /secret_page.html {\n     secure_link $arg_md5,$arg_expires;\n     secure_link_md5 \"$secure_link_expires$uri \u003cput here secret string\u003e\";\n\n     if ($secure_link = \"\") {\n         return 403;\n     }\n\n     if ($secure_link = \"0\") {\n         return 410;\n     }\n    }\n```\n\n### Get secure link\n\n```bash\npython secure.py http://example.com/secret_page.html \u003cput here secret string\u003e --period=30\nhttp://example.com/secret_page.html?md5=IQ6H6OQYGeUnlLEDgHfYNw\u0026expires=1488221041\n```\n\nor\n\n```bash\npython secure.py /secret_page.html \u003cput here secret string\u003e --period=30\n/secret_page.html?md5=IQ6H6OQYGeUnlLEDgHfYNw\u0026expires=1488221041\n```\n\nwhere period is days from now to future when link should work\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaratsh%2Fgetsecure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaratsh%2Fgetsecure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaratsh%2Fgetsecure/lists"}