Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
aa2cedde8d | ||
|
bba97a2185 |
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,8 @@ Two variables in the post description can be give (see the `config.json.example`
|
||||||
|
|
||||||
Usage: `./pixelfed_batch_uploader ../../Downloads/Instagram-Backup/media/posts/201406 --title "June 2014"`
|
Usage: `./pixelfed_batch_uploader ../../Downloads/Instagram-Backup/media/posts/201406 --title "June 2014"`
|
||||||
|
|
||||||
|
The `config.json` must be in the same directory the program is called from (`$PWD`)
|
||||||
|
|
||||||
|
|
||||||
[![asciicast](https://asciinema.mxhdr.net/a/6.svg)](https://asciinema.mxhdr.net/a/6)
|
[![asciicast](https://asciinema.mxhdr.net/a/6.svg)](https://asciinema.mxhdr.net/a/6)
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
"pixelfed_url": "https://pixelfed.example.com",
|
"pixelfed_url": "https://pixelfed.example.com",
|
||||||
# See https://docs.pixelfed.org/running-pixelfed/installation.html#setting-up-services
|
// See https://docs.pixelfed.org/running-pixelfed/installation.html#setting-up-services
|
||||||
"access_token": "sdg;lkjrglksjh;lkshj;lksjthrst;hoijrt;ihj;sithj;itjh",
|
"access_token": "sdg;lkjrglksjh;lkshj;lksjthrst;hoijrt;ihj;sithj;itjh",
|
||||||
"visibility": "unlisted",
|
"visibility": "unlisted",
|
||||||
"batch_size": 10,
|
"batch_size": 10,
|
||||||
"default_text": "Instagram dump from @title@ @batch@ #instabackup #instaimport #instaexit",
|
"default_text": "Instagram dump from @title@ @batch@ #instabackup #instaimport #instaexit",
|
||||||
|
// https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key
|
||||||
"openai_api_key": "0bff275feca7baab5ac508e635543f59fff42d4436c9918cd37c330f9adb4eb4fda643c212794b800bb05fb26016f55425c6755a3525c64792197e4d0fbe95d5",
|
"openai_api_key": "0bff275feca7baab5ac508e635543f59fff42d4436c9918cd37c330f9adb4eb4fda643c212794b800bb05fb26016f55425c6755a3525c64792197e4d0fbe95d5",
|
||||||
"openai_api_url": "https://api.openai.com/v1/chat/completions",
|
"openai_api_url": "https://api.openai.com/v1/chat/completions",
|
||||||
"openai_model": "gpt-4o"
|
"openai_model": "gpt-4o"
|
||||||
|
|
Loading…
Reference in a new issue