- Notifications
You must be signed in to change notification settings - Fork9
👨💼 SubManager is a cross-platform Python tool for automatically managing GitHub subscriptions
License
K1rsN7/SubManager
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
SubManager is a powerful and user-friendly Python tool designed to automate the management of subscriptions in GitHub. In today's world where audience interaction is key, it's important to keep your subscriptions up to date and keep up to date with changes in your network of contacts.
With SubManager, you can easily subscribe users who have subscribed to you and unsubscribe those who have decided to leave you. This makes it much easier to keep your subscription list up-to-date and allows you to focus on engaging with your audience rather than on mundane tasks.
SubManager's key features include:
- Cross-platform: The script is written in Python and runs on a variety of operating systems including Windows, macOS and Linux, making it accessible to a wide audience.
- Automatic Subscription: The script automatically subscribes to all users who have subscribed to your account, so you don't miss out on new subscribers.
- Automatic unsubscribe: You can easily unsubscribe users who have unsubscribed from you, which helps keep your subscription list clean.
- Exceptions to the algorithm: SubManager provides the ability to use two files:
ban_list_followers.txtandban_list_following.txt. These files allow you to add users to a blacklist, excluding them from automatic subscriptions and unsubscriptions, giving you complete control over who you want to leave out of the automated process.
- Clone the repository:
git clone https://github.com/K1rsN7/SubManager.gitcd SubManager - Customize the file
config.json:Open the
config.jsonfile and change the following fields to your own:{ "USERNAME": "Your username", "TOKEN": "Your token", "PROMOTION": true, "DAYS_PERIOD": 3, "COUNT_PROMOTION_USERS": 500, "RETRY_ON": true}If you are unsure how to generate a personal access token, please refer to the documentation atGenerate Token.md for detailed instructions.
To run the program manually, run the following command in the terminal:
python3 main.pyTo automate the launch of the SubManager script, follow these steps depending on your operating system:
- Open crontab for editing:
sudo crontab -e - Add the following line to the crontab file:
0 */2 * * * /usr/bin/python3 GLOBAL_PATH/main.pyReplace
GLOBAL_PATHto the full path to themain.pyfile. - Save your changes and exit the editor.
- Open the Task Scheduler:
- PressWindows + R, then type
taskschd.mscand press Enter.
- PressWindows + R, then type
- Create a new task:
- In the right pane, selectCreate Task.
- Configure the general settings:
- Enter the name of the task and a description.
- Make sure that the correct version of Windows is selected in theConfiguration for field.
- Set Trigger:
- Go to theTriggers tab and clickCreate.
- SelectSchedule.
- Set the frequency toEvery 2 hours. To do this, you can select “Daily” and then specify the execution interval.
- Customize the action:
- Go to theActions tab and clickCreate.
- Select Run Program.
In the “Program or Script” field, specify the path to the Python interpreter, for example:
C:\Path\To\Python\python.exeIn the “Arguments” field, specify the path to your script:
C:\Path\To\Your\Script\main.py
- Save the task:
Click “OK” to save the task settings.
This project is licensed under theMIT License. The MIT License is one of the most popular and simple open source licenses. It allows you to:
- Use: You can use the project code in your own projects, whether personal or commercial.
- Modify: You can modify the project code, adapting it to your needs or improving functionality.
- Distribute: You can distribute the original code or your own modifications, and you must specify the authorship of the original project.
It is important to note that the license does not provide any warranty, and the authors are not responsible for any problems that may occur when using the code.
If you have any questions, suggestions or would like to discuss the project, please contact me via Telegram:@K1rsN7.
I'm always happy to hear feedback and suggestions for improving the project. Your support and ideas will help me make SubManager even better!
About
👨💼 SubManager is a cross-platform Python tool for automatically managing GitHub subscriptions
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
