Code Monkey home page Code Monkey logo

fediseer's Introduction

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.

fediseer's People

Contributors

rikudousage avatar tealk avatar andreluis034 avatar noahimesaka1873 avatar

Stargazers

Damon O avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.