ligh7hau5/config.example.js
vulet 17c7f819ac feat(fediverse): add twitter crossblog [kakashi]
chore(config): update maintained nitter instances
2023-09-04 18:23:37 +08:00

48 lines
1.5 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module.exports = {
matrix: {
domain: 'https://your_homeserver.com',
user: '@your_user:your_homeserver.com',
password: 'your_password',
domains: [ 'your_homeserver.com' ],
manualVerify: false,
reactions: {
copy: '🔁',
clap: '👏',
redact: '🗑️️',
rain: '🌧️',
unroll: '🔍️',
expand: '',
}
},
fediverse: {
domain: 'https://your_federation.com',
username: '',
password: '',
client_name: 'ligh7hau5',
subject: '',
tipping: false,
mimetypes: {
whitelist: [],
blacklist: []
}
},
archive: {
domain: 'archive.is',
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)'
},
nitter: {
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)',
domains: {
redirect: [ 'nitter.unixfox.eu', 'nitter.cz', 'nitter.privacydev.net', 'nitter.poast.org', 'nitter.fdn.fr', 'nitter.snopyta.org', 'nitter.net' ],
original: [ 'nitter.unixfox.eu', 'nitter.cz', 'nitter.privacydev.net', 'nitter.poast.org', 'nitter.net', 'www.nitter.net', 'twitter.com', 'www.twitter.com', 'mobile.twitter.com', 'm.twitter.com' ]
},
check: '(✅)',
},
invidious: {
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)',
domains: {
redirect: [ 'invidious.fdn.fr', 'invidious.snopyta.org', 'invidious.xyz', 'inv.riverside.rocks', 'vid.puffyan.us', 'y.com.cm' ],
original: [ 'youtube.com', 'www.youtube.com', 'youtu.be', 'm.youtube.com' ]
}
}
};