{"id":16170666,"url":"https://github.com/wardpearce/omitme","last_synced_at":"2025-09-11T11:30:55.358Z","repository":{"id":188113482,"uuid":"678110303","full_name":"WardPearce/omitme","owner":"WardPearce","description":"OmitMe - Your Privacy-Centric, Easily Extendable Data Deletion Solution.","archived":true,"fork":false,"pushed_at":"2024-09-23T15:48:26.000Z","size":1517,"stargazers_count":12,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-07T10:04:08.515Z","etag":null,"topics":["cli","deletion","dev","developer","discord","foss","me","omit","open","privacy","redact","source","ui"],"latest_commit_sha":null,"homepage":"https://github.com/WardPearce/omitme","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WardPearce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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,"zenodo":null}},"created_at":"2023-08-13T18:00:13.000Z","updated_at":"2024-12-22T14:59:39.000Z","dependencies_parsed_at":"2024-07-16T01:48:20.561Z","dependency_job_id":"ac4e314e-f02f-4ef0-accc-c321919429a8","html_url":"https://github.com/WardPearce/omitme","commit_stats":null,"previous_names":["wardpearce/omitme"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WardPearce/omitme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WardPearce%2Fomitme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WardPearce%2Fomitme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WardPearce%2Fomitme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WardPearce%2Fomitme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WardPearce","download_url":"https://codeload.github.com/WardPearce/omitme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WardPearce%2Fomitme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274624689,"owners_count":25319702,"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-09-11T02:00:13.660Z","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":["cli","deletion","dev","developer","discord","foss","me","omit","open","privacy","redact","source","ui"],"created_at":"2024-10-10T03:19:20.233Z","updated_at":"2025-09-11T11:30:55.020Z","avatar_url":"https://github.com/WardPearce.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OmitMe\nYour Privacy-Centric, Easily Extendable Data Deletion Solution. \n\n![gif of cli](https://files.catbox.moe/4c5xsn.gif)\n\n## Install\n```\npip install omitme\n```\nMay need to have chrome installed to function.\n\n## Usage\n```\nomitme-cli --help\n```\n\n### Example\n```bash\nomitme-cli discord login\nomitme-cli discord accounts\nomitme-cli discord target messages-delete-all --account account_name\n```\n\n## Tested on\n- Linux ✅\n- Windows ❌\n- MacOS ❌\n\n### Supported platforms\n#### Working\n- Discord\n- Reddit\n\n#### Planned\n- Matrix\n- Twitter\n\n## In-progress\n- Work in progress GUI for Linux, MacOS \u0026 Windows.\n    ![GUI](https://i.imgur.com/TOzXUdZ.png)\n\n## Contributing\nOmitme is built to be expandable to other platforms.\n\nSee an example [here](omitme/platforms/discord.py)\n\n### The `Platform` class\nEach new platform, show inherit from `Platform`.\n\n```python\nclass Discord(Platform):\n```\n\nEach platform class requires some metadata.\n`icon` should be stored in `omitme/resources/platforms`\n\n```python\nclass Discord(Platform):\n    api_url = \"https://discord.com/api/v9\"\n    login_url = \"https://discord.com/login\"\n    alias = \"discord\"\n    icon = \"discord.png\"\n    description = \"Manage your discord data\"\n```\n\n### Login\n\nEach platform requires a login handler like so.\n\n`driver` is a instance of [seleniumwire's webdriver](https://github.com/wkeeling/selenium-wire)\n\n```python\n@login\nasync def handle_login(\n    self, driver: webdriver.Chrome, accounts: Accounts\n) -\u003e httpx.AsyncClient:\n    pass\n```\n\nOnce login is successful, the account should be stored safely using `accounts.add` \u0026 your custom HTTPX session should be returned.\n\n```python\n@login\nasync def handle_login(\n    self, driver: webdriver.Chrome, accounts: Accounts\n) -\u003e httpx.AsyncClient:\n    driver.get(self.login_url)\n\n    ...\n\n    await accounts.add(resp.json()[\"username\"], session={\"headers\": headers})\n\n    return session\n```\n\n### Targets\nTargets are the methods called when a user wants to omit something, e.g. `omitme-cli reddit target posts-delete-all`, `posts-delete-all` would be our target.\n\n#### Events\n- `CheckingEvent`, API call in progress.\n- `OmittedEvent`, data has been omitted.\n- `CompletedEvent`, the omitting process is complete.\n\n```python\n@target(\"posts delete all\", description=\"Delete all reddit posts\")\nasync def handle_delete_posts(\n    self, session: httpx.AsyncClient\n) -\u003e AsyncIterator[OmittedEvent | CheckingEvent | FailEvent | CompletedEvent]:\n    resp = await session.get(\n        f\"/user/{await self._get_username(session)}/submitted\",\n        params={\"timeframe\": \"all\", \"limit\": \"100\"},\n    )\n\n    for post in resp.json()[\"data\"][\"children\"]:\n        await self._delete_post(session, post[\"kind\"], post[\"data\"][\"id\"])\n\n        yield OmittedEvent(\n            channel=post[\"data\"][\"subreddit\"], content=post[\"data\"][\"selftext\"]\n        )\n\n    yield CompletedEvent()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwardpearce%2Fomitme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwardpearce%2Fomitme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwardpearce%2Fomitme/lists"}