2023-12-30 05:29:53 +00:00
|
|
|
module.exports = {
|
|
|
|
title: 'traxxx',
|
|
|
|
database: {
|
|
|
|
owner: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
user: 'traxxx',
|
|
|
|
password: 'password',
|
|
|
|
database: 'traxxx',
|
|
|
|
},
|
|
|
|
query: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
user: 'visitor',
|
|
|
|
password: 'password',
|
|
|
|
database: 'traxxx',
|
|
|
|
},
|
|
|
|
manticore: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
sqlPort: 9306,
|
|
|
|
httpPort: 9308,
|
2024-03-14 23:08:24 +00:00
|
|
|
forceSql: true,
|
2024-02-29 00:40:11 +00:00
|
|
|
maxMatches: 2000, // high match count needed primarily for actor aggregations
|
|
|
|
maxAggregateSize: 2000, // must be lower or equal to maxMatches
|
|
|
|
maxQueryTime: 10000,
|
2023-12-30 05:29:53 +00:00
|
|
|
},
|
|
|
|
timeout: 5000,
|
|
|
|
pool: {
|
|
|
|
min: 0,
|
|
|
|
max: 20,
|
|
|
|
acquireTimeoutMillis: 300000,
|
|
|
|
createTimeoutMillis: 300000,
|
|
|
|
destroyTimeoutMillis: 300000,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
web: {
|
|
|
|
host: '0.0.0.0',
|
|
|
|
port: 5000,
|
|
|
|
sfwHost: '0.0.0.0',
|
|
|
|
sfwPort: 5001,
|
|
|
|
session: {
|
|
|
|
secret: '12345678abcdefghij',
|
|
|
|
resave: false,
|
|
|
|
saveUninitialized: false,
|
|
|
|
cookie: {
|
|
|
|
secure: true,
|
|
|
|
maxAge: 2629800000, // 1 month
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
redis: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 6379,
|
|
|
|
username: null,
|
|
|
|
password: null,
|
|
|
|
},
|
|
|
|
analytics: {
|
|
|
|
enabled: false,
|
|
|
|
address: 'http://localhost:3000/script.js',
|
|
|
|
siteId: '1b28ac3b-d229-43bf-aec9-75cf0a72a466',
|
|
|
|
},
|
|
|
|
auth: {
|
|
|
|
login: true,
|
|
|
|
signup: true,
|
|
|
|
usernameLength: [2, 24],
|
|
|
|
usernamePattern: /^[a-zA-Z0-9_-]+$/,
|
|
|
|
},
|
2024-10-06 00:45:56 +00:00
|
|
|
bans: {
|
|
|
|
defaultExpiry: 60 * 24 * 3, // in minutes, 3 days
|
|
|
|
},
|
2024-11-04 01:36:30 +00:00
|
|
|
socials: {
|
|
|
|
urls: {
|
|
|
|
cashapp: 'https://cash.app/${handle}', // eslint-disable-line no-template-curly-in-string
|
|
|
|
fansly: 'https://fansly.com/{handle}',
|
2024-11-04 02:04:51 +00:00
|
|
|
instagram: 'https://www.instagram.com/{handle}',
|
2024-11-04 01:36:30 +00:00
|
|
|
linktree: 'https://linktr.ee/{handle}',
|
|
|
|
loyalfans: 'https://www.loyalfans.com/{handle}',
|
2024-11-05 01:57:41 +00:00
|
|
|
manyvids: 'https://{handle}.manyvids.com',
|
2024-11-04 01:36:30 +00:00
|
|
|
onlyfans: 'https://onlyfans.com/{handle}',
|
|
|
|
pornhub: 'https://www.pornhub.com/model/{handle}',
|
2024-11-04 02:04:51 +00:00
|
|
|
reddit: 'https://www.reddit.com/u/{handle}',
|
2024-11-04 01:36:30 +00:00
|
|
|
twitter: 'https://x.com/{handle}',
|
|
|
|
},
|
|
|
|
prefix: {
|
|
|
|
default: '@',
|
|
|
|
cashapp: '$',
|
|
|
|
reddit: 'u/',
|
|
|
|
},
|
|
|
|
},
|
2024-08-31 02:59:05 +00:00
|
|
|
apiAccess: {
|
|
|
|
graphqlEnabled: true,
|
|
|
|
keySize: 24, // bytes
|
|
|
|
keyLimit: 5, // max keys per user
|
|
|
|
keyCooldown: 1, // minutes between key generation
|
|
|
|
},
|
2024-09-10 00:47:03 +00:00
|
|
|
revisions: {
|
|
|
|
unapprovedLimit: 3,
|
|
|
|
},
|
2024-06-05 23:47:22 +00:00
|
|
|
psa: {
|
|
|
|
text: 'Welcome to traxxx!', // html enabled
|
|
|
|
type: 'notice', // notice, alert
|
|
|
|
enabled: false,
|
|
|
|
},
|
2024-06-06 00:49:00 +00:00
|
|
|
links: {
|
2024-08-17 23:36:37 +00:00
|
|
|
content: 'mailto:content@traxxx.me',
|
2024-06-06 00:49:00 +00:00
|
|
|
discord: 'https://discord.gg/gY6fnq6jJV',
|
|
|
|
},
|
2024-03-21 01:54:05 +00:00
|
|
|
stashes: {
|
2024-03-26 03:14:42 +00:00
|
|
|
nameLength: [2, 24],
|
2024-03-26 23:06:03 +00:00
|
|
|
namePattern: /^[a-zA-Z0-9!?$&\s_-]+$/,
|
2024-03-27 01:28:21 +00:00
|
|
|
viewRefreshCron: '* * * * *', // every minute
|
|
|
|
viewRefreshCooldowns: {
|
|
|
|
actors: 60, // minutes
|
|
|
|
stashes: 1,
|
|
|
|
},
|
2024-03-21 01:54:05 +00:00
|
|
|
},
|
2023-12-30 05:29:53 +00:00
|
|
|
media: {
|
2024-03-17 04:19:28 +00:00
|
|
|
path: './media',
|
2024-03-24 03:22:37 +00:00
|
|
|
assetPath: '/img',
|
|
|
|
mediaPath: '/media',
|
|
|
|
s3Path: 'https://s3.wasabisys.com',
|
2023-12-30 05:29:53 +00:00
|
|
|
},
|
|
|
|
};
|