You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Not Sam 4f2a984780
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth
7 months ago
.gitlab label, info on WIPs 1 year ago
.yarn We PWA now 8 months ago
build Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 11 months ago
ci nothing 9 months ago
config Fix phoenix sockets in dev mode 2 years ago
docs Update doc on making and using custom builds. 11 months ago
instance Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 11 months ago
src Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 7 months ago
static fix some console errors 1 year ago
test Fix unit tests 11 months ago
tools update emoji.json, add script that merges new emoji from another source 3 years ago
.babelrc Make chunks named 1 year ago
.drone.yml Thanks Vue, very cool! 1 year ago
.editorconfig Basic skeleton 7 years ago
.eslintignore Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 11 months ago
.eslintrc.js disable vue rule 1 year ago
.gitattributes Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 10 months ago
.gitignore Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 11 months ago
.gitlab-ci.yml Use node 16 1 year ago
.gitmodules Add the froth changes back 2 years ago
.mailmap Add myself to .mailmap 3 years ago
.node-version Update Node.js to v16.18.1 1 year ago
.stylelintignore Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 11 months ago
.stylelintrc.json Disable no-shorthand for certain props for better readability 11 months ago
.yarnrc.yml Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 11 months ago
BREAKING_CHANGES.md fixup! Removed formattingOptionsEnabled in favor of relying on BE-provided list of accepted formatting options 5 years ago
CHANGELOG.md Add changelog for 2.5.1 10 months ago
COFE_OF_CONDUCT.md Update COFE_OF_CONDUCT.md 7 years ago
CONTRIBUTORS.md Normalize tusooa's name 12 months ago
LICENSE Add license 7 years ago
README.md Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 11 months ago
image-1.png less John Paul "Scatman" Larkin content in the screenshot 12 months ago
image.png Update README.md, image.png 12 months ago
index.html Get rid of the mod loader 8 months ago
package.json Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 7 months ago
postcss.config.js revives autoprefixer which went AWOL during Webpack v1 -> v4 migration 4 years ago
renovate.json Add renovate.json 2 years ago
yarn.lock Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into froth 7 months ago

README.md

Pleroma-FE

Highly-customizable frontend designed for Pleroma.

screenshot

Changes in this Fork

  • script tag in index.html for pleroma-mod-loader
  • ability to move notifications to a seperate column
  • insert zero width space when padding of emojis is disabled
  • add custom language "English (Nyan)"
  • pointing version links to my gitlab repos
  • optional compact styles provided by craftplacer
  • tags as buttons bellow a post
  • pinch and pan media
  • swap of react and favorite button in status
  • adding vueComponent to DOM nodes to make new mods work

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.