{"id":16806976,"url":"https://github.com/rhnvrm/constassemblybot","last_synced_at":"2025-04-11T00:51:58.630Z","repository":{"id":41122688,"uuid":"266777565","full_name":"rhnvrm/ConstAssemblyBot","owner":"rhnvrm","description":"A twitter bot that tweets a sentence from the Indian Constituent Assembly Debates every 10 minutes.","archived":false,"fork":false,"pushed_at":"2023-07-25T21:20:33.000Z","size":6347,"stargazers_count":13,"open_issues_count":5,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T00:51:52.539Z","etag":null,"topics":["bot","constitution","india","twitter","twitter-bot"],"latest_commit_sha":null,"homepage":"https://twitter.com/ConstAssembly","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/rhnvrm.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}},"created_at":"2020-05-25T12:48:31.000Z","updated_at":"2023-08-23T16:19:53.000Z","dependencies_parsed_at":"2023-02-09T15:01:26.302Z","dependency_job_id":null,"html_url":"https://github.com/rhnvrm/ConstAssemblyBot","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/rhnvrm%2FConstAssemblyBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhnvrm%2FConstAssemblyBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhnvrm%2FConstAssemblyBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhnvrm%2FConstAssemblyBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhnvrm","download_url":"https://codeload.github.com/rhnvrm/ConstAssemblyBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322609,"owners_count":21084336,"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":["bot","constitution","india","twitter","twitter-bot"],"created_at":"2024-10-13T09:52:32.650Z","updated_at":"2025-04-11T00:51:58.606Z","avatar_url":"https://github.com/rhnvrm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ConstAssembly Twitter Bot\n\nA [twitter bot](https://twitter.com/ConstAssembly) that tweets a sentence from the Indian Constituent Assembly Debates every 10 minutes.\n\n## Development Docs\n\nThe bot resides in `bot.py` and uses the Tweepy library to tweet text. The\nbot depends on the following files:\n\n1. `data.txt` - This file contains the raw text, which is used by the bot.\n2. `last_line.txt` - This file is the memory of the bot. This is used so that the bot can dump its state to disk between each run. The bot currently runs as a cron job. Eg.\n```\n12\n0\n```\nWhere line 0 represents the row and line 1 represents the column in the data.txt file.\n\n3. `.env` - This file contains the secrets required by the bot, such as Twitter API keys.\n\n### Getting Started\n\nYou can get started by cloning this repository.\n\n``` sh\ngit clone git@github.com/rhnvrm/ConstAssemblyBot\n```\n\nAfter this, you can install dependencies using:\n\n``` sh\ncd ConstAssemblyBot\npipenv shell\npipenv install\n```\n\nYou can now, install a cronjob like this:\n\n```cronjob\n*/10 * * * * cd $HOME/apps/ConstAssemblyBot \u0026\u0026 /usr/local/bin/pipenv run python bot.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhnvrm%2Fconstassemblybot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhnvrm%2Fconstassemblybot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhnvrm%2Fconstassemblybot/lists"}