{"id":23331061,"url":"https://github.com/capsize-games/darklock","last_synced_at":"2026-02-15T21:34:13.762Z","repository":{"id":235619611,"uuid":"790833867","full_name":"Capsize-Games/darklock","owner":"Capsize-Games","description":"Completely disable specific services within a running python application.","archived":false,"fork":false,"pushed_at":"2024-08-25T16:10:06.000Z","size":1345,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-14T05:22:56.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Capsize-Games.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":"2024-04-23T16:03:45.000Z","updated_at":"2024-08-25T16:09:35.000Z","dependencies_parsed_at":"2024-04-24T01:55:01.455Z","dependency_job_id":"da3fe658-2633-46bc-82cd-fd7fed5d07a9","html_url":"https://github.com/Capsize-Games/darklock","commit_stats":null,"previous_names":["capsize-games/lockdown"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Capsize-Games/darklock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fdarklock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fdarklock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fdarklock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fdarklock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Capsize-Games","download_url":"https://codeload.github.com/Capsize-Games/darklock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fdarklock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29490352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-12-20T22:30:25.891Z","updated_at":"2026-02-15T21:34:13.743Z","avatar_url":"https://github.com/Capsize-Games.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Darklock\n\nCompletely disable the internet and other services, only allowing whitelists\nthrough.\n\n---\n\n![img.png](img.png)\n\n[![Upload Python Package](https://github.com/Capsize-Games/darklock/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Capsize-Games/darklock/actions/workflows/python-publish.yml)\n\n---\n\n## Installation\n\n```bash\npip install darklock\n```\n\n---\n\n## Usage\n\nImport into your application at the top of the main entry file (e.g. `main.py`).\n\nInstall the darklock for the service you want to restrict.\n\n```python\nimport darklock\n\ndarklock.network.install()\ndarklock.os.install()\n```\n\nUninstall the darklock for the service you no longer want to restrict.\n\n```python\nimport darklock\n\ndarklock.network.uninstall()\ndarklock.os.uninstall()\n```\n\n---\n\n## Testing\n\n```bash\npython -m unittest discover -s tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapsize-games%2Fdarklock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapsize-games%2Fdarklock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapsize-games%2Fdarklock/lists"}