Sam Therapy
dd0b2e5d69
- Convert to yarn v2 with zero installs - Refactor much of app to use config instead of flags - Add booru support Signed-off-by: Sam Therapy <sam@samtherapy.net>
30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
{
|
|
//Instance and token settings
|
|
"instance": "INSTANCE_URL", // example https://test.com
|
|
"type": "INSTANCE_TYPE", // examples: "mastodon", "misskey", "pleroma"
|
|
"accessToken": "ACCESS_TOKEN", // Get a token from https://git.froth.zone/Sam/js-feditoken
|
|
"refreshToken": "REFRESH_TOKEN", // optional
|
|
|
|
// Post settings
|
|
"message": "", // example: "Hello, world!"
|
|
"visibility": "unlisted", // example: "public", "unlisted", "private", "direct"
|
|
|
|
"remote": false, // **Set this to `true` if you want to serve a file from a booru!**
|
|
/* THESE SETTINGS WILL BE IGNORED IF YOU SET `remote` TO `false` */
|
|
"booru": "safebooru.org", // example: "safebooru.org"
|
|
"tags": [""], // example: ["tohsaka_rin", "-feet"]
|
|
"rating": "safe", // example: "safe", "questionable", "explicit"
|
|
/* END OF SETTINGS THAT WILL BE IGNORED IF YOU SET `remote` TO `false` */
|
|
|
|
/* THESE SETTINGS WILL BE IGNORED IF YOU SET `remote` TO `true` */
|
|
"directory": "./images" // example: "./images"
|
|
/*
|
|
Directory structure should be as follows:
|
|
folder/
|
|
- sfw/
|
|
- image1.jpg
|
|
- nsfw/
|
|
- image1.jpg
|
|
*/
|
|
/* END OF SETTINGS THAT WILL BE IGNORED IF YOU SET `remote` TO `true` */
|
|
}
|