Docs: add installation guide and usage to readme
This commit is contained in:
parent
245f9a4aaf
commit
d0c6b3aaad
21
README.md
21
README.md
|
@ -1,2 +1,21 @@
|
|||
# Mastofeed
|
||||
Mastodon user to RSS 2.0 feed bridge
|
||||
Mastodon user to RSS 2.0 feed bridge
|
||||
|
||||
## Installation
|
||||
```bash
|
||||
# make venv and activate it
|
||||
python -m venv venv
|
||||
source ./venv/bin/activate # ./venv/Scripts/activate
|
||||
|
||||
# install packages
|
||||
pip install -r requirements.txt
|
||||
|
||||
# run
|
||||
fastapi run main.py
|
||||
|
||||
# run with different port
|
||||
# fastapi run main.py --port 8001
|
||||
```
|
||||
|
||||
## Usage
|
||||
If you are running Mastofeed on `127.0.0.1:8000` and want to get the feed for `@example@mastodon.tld`, go to `http://127.0.0.1:8000/feed/@example@mastodon.tld`
|
Loading…
Reference in a new issue