2022-08-18 11:40:20 +05:30
# deviras
2022-08-19 23:15:48 +05:30
2024-01-01 20:18:23 +05:30
> Bunch of scripts to automate stuff in r/developersIndia.
2022-08-19 22:51:31 +05:30
2023-02-06 20:15:58 +05:30
[![Discord ](https://img.shields.io/discord/669880381649977354?color=%237289da&label=Discord&logo=Discord )](https://discordapp.com/invite/MKXMSNC)
2023-12-31 23:23:46 +05:30
[![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/)
2023-02-06 20:15:58 +05:30
[![All Contributors ](https://img.shields.io/badge/all_contributors-3-orange.svg )](#contributors-)
2022-08-19 23:24:49 +05:30
## Scripts
2022-08-19 22:51:31 +05:30
2024-01-01 20:16:53 +05:30
### [idcard_update](https://github.com/developersIndia/deviras/blob/main/idcard_update/main.py)
2022-08-31 19:03:24 +05:30
2024-01-01 20:16:53 +05:30
- 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 )
2022-08-19 23:24:49 +05:30
2024-01-01 20:16:53 +05:30
### [aoc](https://github.com/developersIndia/deviras/blob/main/aoc/main.py)
2023-12-16 18:31:34 +05:30
2024-01-01 20:16:53 +05:30
- 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 )
2023-12-19 00:38:30 +05:30
2024-01-01 20:16:53 +05:30
### [community-threads](https://github.com/developersIndia/deviras/blob/main/community-threads/main.py)
2023-12-19 00:38:30 +05:30
2024-01-01 20:16:53 +05:30
- Used for grabbing the posts from [community threads collection ](https://www.reddit.com/r/developersIndia/collection/958aef35-f9cb-414d-ab33-08bc639e47de/ ) and adding it to the [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 )
2023-12-16 18:31:34 +05:30
2024-01-14 20:41:01 +05:30
### [job-thread](https://github.com/developersIndia/deviras/blob/main/job-thread/main.py)
2023-12-16 18:31:34 +05:30
2024-01-14 20:41:01 +05:30
- 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/ ).
2023-12-16 18:31:34 +05:30
2024-01-01 20:16:53 +05:30
### [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 )
2022-08-19 22:51:31 +05:30
2024-01-20 16:35:28 +05:30
### [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.
2022-08-31 19:03:24 +05:30
## Setup
2022-08-31 14:30:55 +05:30
2022-08-31 19:03:24 +05:30
1. Clone the repo
2022-08-31 14:30:55 +05:30
2022-08-31 19:03:24 +05:30
```bash
git clone https://github.com/developersIndia/deviras.git
```
2. Initialise a virtual environment.
2022-08-19 22:51:31 +05:30
2022-08-31 19:03:24 +05:30
```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
```
2022-08-19 23:24:49 +05:30
2022-08-20 22:37:03 +05:30
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL - CONTRIBUTORS - LIST:START - Do not remove or modify this section -->
<!-- prettier - ignore - start -->
<!-- markdownlint - disable -->
< table >
2023-03-10 13:39:45 +05:30
< tbody >
< tr >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/SameerSahu007" > < img src = "https://avatars.githubusercontent.com/u/29480670?v=4?s=100" width = "100px;" alt = "Sameer Sahu" / > < br / > < sub > < b > Sameer Sahu< / b > < / sub > < / a > < br / > < a href = "https://github.com/developersIndia/deviras/commits?author=SameerSahu007" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "http://pavanjadhaw.me" > < img src = "https://avatars.githubusercontent.com/u/26551780?v=4?s=100" width = "100px;" alt = "Pavan Jadhaw" / > < br / > < sub > < b > Pavan Jadhaw< / b > < / sub > < / a > < br / > < a href = "#ideas-pavanjadhaw" title = "Ideas, Planning, & Feedback" > 🤔< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://animesh-ghosh.github.io/" > < img src = "https://avatars.githubusercontent.com/u/34956994?v=4?s=100" width = "100px;" alt = "MaDDogx" / > < br / > < sub > < b > MaDDogx< / b > < / sub > < / a > < br / > < a href = "https://github.com/developersIndia/deviras/commits?author=Animesh-Ghosh" title = "Code" > 💻< / a > < a href = "https://github.com/developersIndia/deviras/commits?author=Animesh-Ghosh" title = "Tests" > ⚠️< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://pratham.cc" > < img src = "https://avatars.githubusercontent.com/u/67585967?v=4?s=100" width = "100px;" alt = "Pratham" / > < br / > < sub > < b > Pratham< / b > < / sub > < / a > < br / > < a href = "https://github.com/developersIndia/deviras/commits?author=git-bruh" title = "Code" > 💻< / a > < / td >
2023-11-14 14:43:34 +05:30
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://nisarga.me/" > < img src = "https://avatars.githubusercontent.com/u/45588772?v=4?s=100" width = "100px;" alt = "Nisarga Adhikary" / > < br / > < sub > < b > Nisarga Adhikary< / b > < / sub > < / a > < br / > < a href = "https://github.com/developersIndia/deviras/commits?author=ni5arga" title = "Code" > 💻< / a > < / td >
2024-07-17 19:59:26 +05:30
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/lineararray" > < img src = "https://github.com/lineararray.png?s=100" width = "100px;" alt = "LinearArray" / > < br / > < sub > < b > LinearArray< / b > < / sub > < / a > < br / > < a href = "https://github.com/developersIndia/deviras/commits?author=LinearArray" title = "Code" > 💻< / a > < / td >
2024-05-05 14:47:54 +05:30
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://rancho-rachit.github.io/" > < img src = "https://avatars.githubusercontent.com/u/111473259?v=4?s=100" width = "100px;" alt = "Rachit Agrawal" / > < br / > < sub > < b > Rachit Agrawal< / b > < / sub > < / a > < br / > < a href = "https://github.com/developersIndia/deviras/commits?author=Rancho-rachit" title = "Code" > 💻< / a > < / td >
2023-03-10 13:39:45 +05:30
< / tr >
< / tbody >
2022-08-20 22:37:03 +05:30
< / table >
<!-- markdownlint - restore -->
<!-- prettier - ignore - end -->
<!-- ALL - CONTRIBUTORS - LIST:END -->
2022-08-20 22:41:57 +05:30
This project follows the [all-contributors ](https://github.com/all-contributors/all-contributors ) specification. Contributions of any kind welcome!