To add custom CSS for all users, edit ./custom/assets/instance.css.
To add static assets (such as images for the splash screen), place them in the ./custom/assets/ directory. They'll then be available on https://yourserver.tld/static-assets/filename.ext.
To add custom locales, place them in the ./custom/locales/ directory. If you name your custom locale the same as an existing locale, it will overwrite it. If you give it a unique name, it will be added to the list. Also make sure that the first part of the filename matches the locale you're basing it on. (Example: en-FOO.yml)
To add custom error images, place them in the ./custom/assets/badges directory, replacing the files already there.
To add custom sounds, place only mp3 files in the ./custom/assets/sounds directory.
To update custom assets without rebuilding, just run pnpm run gulp.
To block ChatGPT, CommonCrawl, or other crawlers from indexing your instance, uncomment the respective rules in ./custom/robots.txt.
🚀 Build and launch!
🐢 NodeJS + pm2
git pull and run these steps to update Firefish in the future!
# git pull
pnpm install
NODE_ENV=production pnpm run build && pnpm run migrate
pm2 start "NODE_ENV=production pnpm run start" --name Firefish