mirror of
https://github.com/Horhik/Instagram2Fedi.git
synced 2024-11-25 09:31:33 +00:00
update Docs
This commit is contained in:
parent
e35b400819
commit
88e344a9f7
21
Docs.md
21
Docs.md
|
@ -1,8 +1,24 @@
|
|||
# Instagram2Fedi Docs
|
||||
# Instagram2Fedi Docs 📜
|
||||
|
||||
## Command line arguments
|
||||
## How to use
|
||||
You can use Instagram2Fedi via docker or just like a python scrip
|
||||
|
||||
### Via Docker
|
||||
|
||||
Specify your variables in `./env.sh` and then run `./run.sh`
|
||||
|
||||
You can modify `docker run` arguments in `./run.sh`
|
||||
|
||||
### Just a python script
|
||||
|
||||
Run `pip3 install -r requirements.txt` and then run `./insta2fedi`.
|
||||
|
||||
Specify your arguments. You should use `--use-docker 0`.
|
||||
|
||||
## Command line arguments
|
||||
|
||||
`--use-mastodon` - set not positive number (`0`, `-1`...) if your instance don't have max image count limit.
|
||||
|
||||
For example, default maximum photo count in mastodon is `4`
|
||||
|
||||
`--instance` - Your instance url
|
||||
|
@ -14,6 +30,7 @@ For example, default maximum photo count in mastodon is `4`
|
|||
`--check-interval` - Interval in seconds how often to check for new posts
|
||||
|
||||
`--post-interval` - Interval in seconds between new fetched posts.
|
||||
|
||||
If theres more than one new post, sets with which time interval should it post them
|
||||
|
||||
`--fetch-count` - How many new posts to select
|
||||
|
|
Loading…
Reference in a new issue