# deviras > Bunch of scripts to automate stuff in r/developersIndia. [![Discord](https://img.shields.io/discord/669880381649977354?color=%237289da&label=Discord&logo=Discord)](https://discordapp.com/invite/MKXMSNC) [![Subreddit subscribers](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fdevelopersindia.github.io%2Fmetrics%2Fdata%2F&query=%24.totalMembers&suffix=%20members&style=flat&logo=reddit&label=r%2FdevelopersIndia&color=orange&link=https%3A%2F%2Fwww.reddit.com%2Fr%2FdevelopersIndia )](https://www.reddit.com/r/developersIndia/) [![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg)](#contributors-) ## Scripts ### [idcard_update](https://github.com/developersIndia/deviras/blob/main/idcard_update/main.py) - Used for changing the text below _total members_ & _live members_ count on the Subreddit. - ![action build](https://github.com/developersIndia/deviras/actions/workflows/titles-updater.yml/badge.svg) ### [aoc](https://github.com/developersIndia/deviras/blob/main/aoc/main.py) - Used for updating the Advent of Code User Scores in the [leaderboard post](https://www.reddit.com/r/developersIndia/comments/1889ar3/advent_of_code_rdevelopersindia_leaderboard_year/). - ![action build](https://github.com/developersIndia/deviras/actions/workflows/aoc.yml/badge.svg) ### [community-threads](https://github.com/developersIndia/deviras/blob/main/community-threads/main.py) - Add a post to [community threads wiki](https://www.reddit.com/r/developersIndia/wiki/community-threads/). - ![action build](https://github.com/developersIndia/deviras/actions/workflows/collection-thread-updater.yml/badge.svg) ### [job-thread](https://github.com/developersIndia/deviras/blob/main/job-thread/main.py) - Used for creating [hiring threads](https://www.reddit.com/r/developersIndia/?f=flair_name%3A%22Hiring%22) in the subreddit that gets the job from our [job board](https://developersindia.in/job-board/). ### [showcase-sunday](https://github.com/developersIndia/deviras/blob/main/showcase-sunday/main.py) - Used for creating [Showcase Sunday Megathreads](https://www.reddit.com/r/developersIndia/search/?q=flair%3A%20Showcase%20Sunday&restrict_sr=1) posts in the subreddit. - ![action build](https://github.com/developersIndia/deviras/actions/workflows/showcase-sunday.yml/badge.svg) ### [ama-summarizer](https://github.com/developersIndia/deviras/blob/main/ama-summarizer/main.py/) - The Python script to help during AMAs. It generates a markdown file of questions and links of the questions the AMA guest has answered. ## Setup 1. Clone the repo ```bash git clone https://github.com/developersIndia/deviras.git ``` 2. Initialise a virtual environment. ```bash cd deviras python3 -m venv venv source venv/bin/activate ``` 3. Install dependencies ```bash pip install -r requirements.txt ``` 4. To run the tests, use the following command in a python virtual environment: ```bash python -m unittest ``` ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Sameer Sahu 💻 |
Pavan Jadhaw 🤔 |
MaDDogx 💻 ⚠️ |
Pratham 💻 |
Nisarga Adhikary 💻 |
LinearArray 💻 |
Rachit Agrawal 💻 |