No description
Find a file
2024-12-07 15:37:41 -06:00
build first 2024-12-07 14:05:19 -06:00
config first 2024-12-07 14:05:19 -06:00
docs first 2024-12-07 14:05:19 -06:00
src Font Awesome and fix supa long twkn text 2024-12-07 14:52:56 -06:00
static first 2024-12-07 14:05:19 -06:00
test first 2024-12-07 14:05:19 -06:00
tools first 2024-12-07 14:05:19 -06:00
.gitignore updating gitignore just in case one day i do a fucky wucky 2024-12-07 15:08:47 -06:00
BREAKING_CHANGES.md first 2024-12-07 14:05:19 -06:00
CHANGELOG.md first 2024-12-07 14:05:19 -06:00
COFE_OF_CONDUCT.md first 2024-12-07 14:05:19 -06:00
CONTRIBUTORS.md first 2024-12-07 14:05:19 -06:00
image-1.png first 2024-12-07 14:05:19 -06:00
image.png first 2024-12-07 14:05:19 -06:00
index.html first 2024-12-07 14:05:19 -06:00
LICENSE first 2024-12-07 14:05:19 -06:00
package.json nvm old font awesome causes fe to break 2024-12-07 15:37:41 -06:00
postcss.config.js first 2024-12-07 14:05:19 -06:00
README.md first 2024-12-07 14:05:19 -06:00
renovate.json first 2024-12-07 14:05:19 -06:00
yarn.lock first 2024-12-07 14:05:19 -06:00

Pleroma-FE

Highly-customizable frontend designed for Pleroma.

screenshot

For Translators

To translate Pleroma-FE, use our weblate server: https://translate.pleroma.social/. If you need to add your language it should be added as a json file in src/i18n/ folder and added in a list within src/i18n/languages.js.

Pleroma-FE will set your language by your browser locale, but you can change language in settings.

For instance admins

You don't need to build Pleroma-FE yourself. Those using the Pleroma backend will be able to use it out of the box. Information of customizing PleromaFE settings/defaults is in our guide and in case you want to build your own custom version there's another

Build Setup

# install dependencies
npm install -g yarn
yarn

# serve with hot reload at localhost:8080
yarn dev

# build for production with minification
yarn build

# run unit tests
yarn unit

For Contributors:

You can create file /config/local.json (see example) to enable some convenience dev options:

  • target: makes local dev server redirect to some existing instance's BE instead of local BE, useful for testing things in near-production environment and searching for real-life use-cases.
  • staticConfigPreference: makes FE's /static/config.json take preference of BE-served /api/statusnet/config.json. Only works in dev mode.

FE Build process also leaves current commit hash in global variable ___pleromafe_commit_hash so that you can easily see which pleroma-fe commit instance is running, also helps pinpointing which commit was used when FE was bundled into BE.

Configuration

Set configuration settings in AdminFE, additionally you can edit config.json. For more details see documentation.