{"id":18974987,"url":"https://github.com/bufferapp/mongoct","last_synced_at":"2025-04-19T16:44:25.056Z","repository":{"id":57442915,"uuid":"137208272","full_name":"bufferapp/mongoct","owner":"bufferapp","description":"MongoDB Change Streams tracker.","archived":false,"fork":false,"pushed_at":"2018-11-16T10:35:30.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T10:23:46.708Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bufferapp.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}},"created_at":"2018-06-13T11:47:21.000Z","updated_at":"2021-11-18T02:19:45.000Z","dependencies_parsed_at":"2022-09-04T22:22:09.621Z","dependency_job_id":null,"html_url":"https://github.com/bufferapp/mongoct","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fmongoct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fmongoct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fmongoct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fmongoct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufferapp","download_url":"https://codeload.github.com/bufferapp/mongoct/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249223962,"owners_count":21232842,"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":[],"created_at":"2024-11-08T15:16:53.401Z","updated_at":"2025-04-16T09:34:24.898Z","avatar_url":"https://github.com/bufferapp.png","language":"Python","readme":"# mongoct\n\n[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)\n[![PyPI version](https://badge.fury.io/py/mongoct.svg)](https://badge.fury.io/py/mongoct)\n\nMongoDB [Change Streams](https://docs.mongodb.com/manual/changeStreams/) tracker. Using `mongoct` allows you to pipe the MongoDB collection changes to another program or file.\n\n## Installation\n\nTo install `mongoct`, simply run:\n\n```bash\npip install mongoct\n```\n\n## Quickstart\n\nBefore executing the command line tool you'll need a MongoDB URI connection in your environment (`MONGODB_URI`)¹.\n\nTracking changes in a certain collection is as easy as running the following command:\n\n```bash\nmongoct company posts\n```\n\nChanges will start flowing as JSON at the same time they're applied to the `post` collection in the `company` database.\n\nYou can now pipe the data to another program like [`jq`](https://stedolan.github.io/jq/) or save it to a file for latter processing.\n\n¹ It's also possible to specify the MongoDB URI as an option (`mongoct company posts -u \"mongodb://user:pass@host/db\"`)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fmongoct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufferapp%2Fmongoct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fmongoct/lists"}