1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-23 00:09:42 +01:00
FE for Bae.st https://bae.st
Go to file
2024-06-27 00:59:24 +03:00
.gitlab
build
changelog.d Merge branch 'tusooa/themesv3-on-safari' into 'develop' 2024-06-21 21:53:00 +00:00
config
docs
src fields for user font overrides 2024-06-27 00:59:24 +03:00
static
test fix tests and make them pass on shit hardware 2024-03-26 18:49:29 +02:00
tools fix change not being recognized 2024-02-22 18:10:30 +02:00
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
.gitignore
.gitlab-ci.yml Update gitlab CI file to avoid arm runner that keeps failing certain resource-intensive tasks 2024-05-23 08:36:15 +00:00
.mailmap
.node-version
.stylelintrc.json
BREAKING_CHANGES.md
CHANGELOG.md
COFE_OF_CONDUCT.md
CONTRIBUTORS.md
image-1.png
image.png
index.html Fix Themes v3 not working on Safari 2024-05-31 14:34:38 -04:00
LICENSE
package.json implement a simple caching system for themes 3 2024-04-22 23:40:39 +03:00
postcss.config.js
README.md
renovate.json
yarn.lock Update dependency autoprefixer to v10.4.19 2024-03-21 09:06:07 +00: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.