You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 weeks ago | |
---|---|---|
Forgejo.py | 4 weeks ago | |
LICENSE | 4 weeks ago | |
README.md | 4 weeks ago | |
gitcat.py | 4 weeks ago | |
requirements.txt | 4 weeks ago | |
setup.py | 4 weeks ago |
README.md
gitcat
This Python script allows sign up to a Forgejo instance to all local users of a Mastodon server.
Dependencies
- Python 3
- Forgejo running server with admin access account
- Mastodon's bot account
Usage
From the Mastodon's server account where this bot is running:
@bot_username registre
Installation
-
Clone this repo: git clone https://git.mastodont.cat/spla/gitcat.git
-
cd into your and create the Python Virtual Environment:
python3.x -m venv .
-
Activate the Python Virtual Environment:
source bin/activate
-
Run
pip install -r requirements.txt
to install needed libraries. -
Run
python setup.py
to setup the Mastodon bot account and related bot's access tokens. -
Use your favourite scheduling method to set
python gitcat.py
to run every minute.