No description
  • TypeScript 66.8%
  • HTML 32%
  • Shell 0.5%
  • SCSS 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-06-10 13:31:58 +02:00
.github/workflows Chore: Add better referencing of runtime variables (#182) 2024-02-20 11:55:48 +01:00
.vscode initial commit 2023-09-06 11:55:20 +02:00
src Fix: Remove account from switcher on api key change (#193) 2025-06-10 13:31:58 +02:00
.dockerignore Chore: Add better referencing of runtime variables (#182) 2024-02-20 11:55:48 +01:00
.editorconfig initial commit 2023-09-06 11:55:20 +02:00
.gitattributes Remove default readme, add license, exclude vendor files from stats 2023-09-07 08:14:43 +02:00
.gitignore Add maintainer, add sls config 2023-09-07 01:00:19 +02:00
angular.json Feat: Upgrade to Angular 17 (#184) 2024-04-03 12:44:19 +02:00
docker-build.sh Chore: Add better referencing of runtime variables (#182) 2024-02-20 11:55:48 +01:00
Dockerfile Chore: Add better referencing of runtime variables (#182) 2024-02-20 11:55:48 +01:00
LICENSE Remove default readme, add license, exclude vendor files from stats 2023-09-07 08:14:43 +02:00
nginx-proxy.conf Feat: Add support for server side rendering (#13) 2023-09-12 21:15:29 +02:00
nginx.conf Fix routing for docker image (#1) 2023-09-11 16:31:27 +02:00
package.json Feat: Upgrade to Angular 17 (#184) 2024-04-03 12:44:19 +02:00
README.md Chore: Add donate link (#66) 2023-09-18 18:08:21 +02:00
server.ts Feat: Upgrade to Angular 17 (#184) 2024-04-03 12:44:19 +02:00
serverless.yml Add maintainer, add sls config 2023-09-07 01:00:19 +02:00
shell.nix Add completion to shell.nix 2023-09-07 11:39:31 +02:00
transloco.config.js i18n: Add Korean translation (#158) 2023-10-28 09:53:12 +02:00
tsconfig.app.json Fix build 2023-09-07 01:13:18 +02:00
tsconfig.json Fix build 2023-09-07 01:13:18 +02:00
tsconfig.server.json Feat: Add support for server side rendering (#13) 2023-09-12 21:15:29 +02:00
tsconfig.spec.json initial commit 2023-09-06 11:55:20 +02:00
yarn.lock Feat: Upgrade to Angular 17 (#184) 2024-04-03 12:44:19 +02:00

Frontend for Fediseer

Running

  • edit environment.ts to your liking
    • especially change the maintainer, please
  • yarn install
    • to install dependencies
  • yarn build
    • to build the app
  • copy contents of dist/FediseerGUI/browser to your favorite webserver
  • configure your webserver to route all pages to index.html

You can build the app using a single docker command: docker run --rm -v $(pwd):/app -w /app -u $(id -u):$(id -g) node:18 bash -c 'yarn install && yarn build'

Running with server side rendering

  • edit environment.ts to your liking
    • especially change the maintainer, please
  • yarn install
    • to install dependencies
  • yarn build:ssr
    • to build the app, both client and server
  • copy contents of dist/FediseerGUI to your server
  • node dist/FediseerGUI/server/main.js
    • runs the node express server (replace with real path to your dir)
  • configure your reverse proxy to route to localhost:4000

Running using Docker

A ready-to-use docker image is available as ghcr.io/fediseer/fediseer-gui.

Configuration is done using environment variables.

Environment variable Description Default value
FEDISEER_API_URL The URL of the Fediseer api. https://fediseer.com/api
FEDISEER_API_VERSION The api version of the Fediseer api. v1
FEDISEER_APP_NAME The internal app name used. FediseerGUI
FEDISEER_APP_MAINTAINER The name of the maintainer in the format of @[username]@[instance]. This variable cannot be empty. none
FEDISEER_DEFAULT_CENSURE_LIST_FILTER_INSTANCES The default instances to use in the censure list filters. List them as a comma separated values, for example lemmings.world,lemmy.dbzer0.com. The special value __all__ can be used to mean all guaranteed instances __all__
FEDISEER_SOURCE_CODE_LINK The URL to the source code repository. You may want to set it to your fork URL if you're not using my version. https://github.com/Fediseer/FediseerGUI
FEDISEER_APP_VERSION The current version of the Fediseer GUI. gets the default from environment.ts
FEDISEER_ENABLE_SSR Set to any value to enable server-side rendering none
FEDISEER_DONATE_LINK The link to the donation page, can be anything https://liberapay.com/Fediseer/

The app is running on port 80 inside the container.