{"id":51161809,"url":"https://github.com/sbolel/instagram-comment-activity-deleter","last_synced_at":"2026-06-26T14:31:35.445Z","repository":{"id":357261255,"uuid":"1235205156","full_name":"sbolel/instagram-comment-activity-deleter","owner":"sbolel","description":"Private TypeScript browser automation for safely dry-running and deleting your own Instagram comment activity in controlled batches.","archived":false,"fork":false,"pushed_at":"2026-05-31T08:56:07.000Z","size":109,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-31T10:15:43.985Z","etag":null,"topics":["browser-automation","console-script","dom-automation","dry-run","instagram","instagram-comments","personal-automation","private-tool","typescript","userscript"],"latest_commit_sha":null,"homepage":"https://github.com/sbolel/instagram-comment-activity-deleter/releases/tag/v0.1.0","language":"TypeScript","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/sbolel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-11T05:33:27.000Z","updated_at":"2026-05-31T08:56:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sbolel/instagram-comment-activity-deleter","commit_stats":null,"previous_names":["sbolel/instagram-comment-activity-deleter"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/sbolel/instagram-comment-activity-deleter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbolel%2Finstagram-comment-activity-deleter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbolel%2Finstagram-comment-activity-deleter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbolel%2Finstagram-comment-activity-deleter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbolel%2Finstagram-comment-activity-deleter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbolel","download_url":"https://codeload.github.com/sbolel/instagram-comment-activity-deleter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbolel%2Finstagram-comment-activity-deleter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34821764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"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":["browser-automation","console-script","dom-automation","dry-run","instagram","instagram-comments","personal-automation","private-tool","typescript","userscript"],"created_at":"2026-06-26T14:31:34.662Z","updated_at":"2026-06-26T14:31:35.440Z","avatar_url":"https://github.com/sbolel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instagram Comment Activity Deleter\n\nPrivate browser automation utility for deleting your own Instagram comment activity from the desktop web activity page.\n\nThis repository is the maintained version of the original gist at \u003chttps://gist.github.com/sbolel/a2b2bfde16b3ab185fbc2e2049240abc\u003e.\n\n## What It Does\n\n- Opens Instagram's comment activity page in selection mode.\n- Selects comments in small batches.\n- Clicks Instagram's delete and confirmation controls.\n- Waits between actions to avoid rushing the UI.\n- Stops when no more selectable comments are visible.\n\nThe script runs in your browser against the page you already have open. It does not use Instagram credentials, APIs, or external services.\n\n## Safety Notes\n\nThis is destructive automation. Review the generated script before running it.\n\n- It is intended only for deleting comments from your own Instagram account.\n- Instagram can change its page markup at any time, which can break selectors.\n- Start with `dryRun: true` and a small `maxBatches` value before deleting anything.\n- Keep the browser window focused on the Instagram comments activity page while it runs.\n\n## Quick Start\n\nVerify the repo:\n\n```sh\nnpm install\nnpm run check\n```\n\nBuild the browser-ready script:\n\n```sh\nnpm run build\n```\n\nThe build creates:\n\n- `dist/instagram-comment-activity-deleter.console.js`\n- `dist/instagram-comment-activity-deleter.user.js`\n- `apps/chrome-extension/dist/`\n\nOpen Instagram's comments activity page:\n\n```text\nhttps://www.instagram.com/your_activity/interactions/comments\n```\n\nPaste the generated console script from `dist/instagram-comment-activity-deleter.console.js` into the browser console.\n\n## Chrome Extension\n\nThe repo includes a Manifest V3 extension workspace at `apps/chrome-extension`.\n\nBuild it:\n\n```sh\nnpm run build:extension\n```\n\nLoad the generated extension folder as an unpacked extension:\n\n1. Open your Chromium-based browser's extensions page:\n   - Chrome: `chrome://extensions`\n   - Edge: `edge://extensions`\n   - Brave: `brave://extensions`\n2. Enable Developer Mode.\n3. Choose \"Load unpacked\".\n4. Select the generated folder: `apps/chrome-extension/dist`.\n5. Pin the extension from the browser toolbar if you want quick access.\n\nAfter rebuilding, return to the extensions page and choose the extension's reload button so the browser picks up the new files.\n\nThe extension uses `scripting` plus host access for `https://www.instagram.com/*`, injects the content script after you open the popup, and enables itself only on:\n\n```text\nhttps://www.instagram.com/your_activity/interactions/comments\n```\n\nDry run is enabled by default. To delete comments, turn off dry run and type `DELETE` in the confirmation field.\n\n## Runtime Options\n\nEdit the final invocation in the generated console script before running:\n\n```js\nawait InstagramCommentActivityDeleter.run({\n  dryRun: true,\n  batchSize: 3,\n  maxBatches: 1,\n})\n```\n\nCommon options:\n\n- `dryRun`: selects comments but skips the delete confirmation flow.\n- `batchSize`: number of comments selected per batch.\n- `maxBatches`: optional cap for testing a limited run.\n- `actionDelayMs`: delay between major actions.\n- `checkboxDelayMs`: delay between checkbox clicks.\n- `selectButtonTimeoutMs`: timeout for waiting on Instagram's select button.\n\n## Development\n\nTypeScript source lives in `src/`.\n\n- `src/deleter.ts`: testable DOM automation engine.\n- `src/console-entry.ts`: browser global entrypoint for generated scripts.\n- `apps/chrome-extension/`: Manifest V3 extension workspace.\n- `scripts/build.mjs`: creates browser-ready files in `dist/`.\n- `scripts/build-extension.mjs`: creates unpacked extension files in `apps/chrome-extension/dist/`.\n- `scripts/transpile-typescript.mjs`: stable TypeScript compiler-based transform used by the build scripts.\n- `test/`: Node test coverage using lightweight DOM fakes.\n\nRun all checks:\n\n```sh\nnpm run check\n```\n\nThe generated browser scripts have no runtime dependencies. Development uses TypeScript for strict type checking.\n\n## Releases\n\nReleases are automated with Semantic Release on pushes to `main`. The repository uses Conventional Commits to calculate SemVer versions and create GitHub releases.\n\n- `package.json` intentionally stays at `0.0.0-semantic-release`.\n- Release tags use `v${version}`.\n- Release assets include the console script, userscript, and unpacked Chrome extension files.\n- PR titles and commit messages must follow Conventional Commits.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbolel%2Finstagram-comment-activity-deleter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbolel%2Finstagram-comment-activity-deleter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbolel%2Finstagram-comment-activity-deleter/lists"}