mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 10:51:24 +00:00
No description
201e5fcd53
* Use fewer syntax highlighter languages. Reduces client.js size by about 250kB (800kB uncompressed) Common languages: bash, c, cpp, csharp, css, diff, go, graphql, ini, java, javascript, json, kotlin, less, lua, makefile, markdown, objectivec, perl, php-template, php, plaintext, python-repl, python, r, ruby, rust, scss, shell, sql, swift, typescript, vbnet, wasm, xml, yaml Additionally enabled languages: dockerfile, pgsql * Configurable syntax highlighter languages Allows to individually enable languages. * Lazy load syntax highlighter languages Allows to enable additional languages that will not be autodetected. * Include highlight.js in dynamic import check |
||
---|---|---|
.github | ||
.husky | ||
lemmy-translations@b4cb42fbdd | ||
src | ||
.babelrc | ||
.dockerignore | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitmodules | ||
.prettierignore | ||
.prettierrc.json | ||
.woodpecker.yml | ||
accessibility_tests.sh | ||
cliff.toml | ||
CONTRIBUTING.md | ||
deploy.sh | ||
dev.dockerfile | ||
Dockerfile | ||
generate_translations.js | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
test_deploy.sh | ||
tsconfig.json | ||
update_translations.sh | ||
webpack.config.js |
Lemmy-UI
The official web app for Lemmy, written in inferno.
Based off of MrFoxPro's inferno-isomorphic-template.
Configuration
The following environment variables can be used to configure lemmy-ui:
ENV_VAR |
type | default | description |
---|---|---|---|
LEMMY_UI_HOST |
string |
0.0.0.0:1234 |
The IP / port that the lemmy-ui isomorphic node server is hosted at. |
LEMMY_UI_LEMMY_INTERNAL_HOST |
string |
0.0.0.0:8536 |
The internal IP / port that lemmy is hosted at. Often lemmy:8536 if using docker. |
LEMMY_UI_LEMMY_EXTERNAL_HOST |
string |
0.0.0.0:8536 |
The external IP / port that lemmy is hosted at. Often DOMAIN.TLD . |
LEMMY_UI_HTTPS |
bool |
false |
Whether to use https. |
LEMMY_UI_EXTRA_THEMES_FOLDER |
string |
./extra_themes |
A location for additional lemmy css themes. |
LEMMY_UI_DEBUG |
bool |
false |
Loads the Eruda debugging utility. |
LEMMY_UI_DISABLE_CSP |
bool |
false |
Disables CSP security headers |
LEMMY_UI_CUSTOM_HTML_HEADER |
string |
Injects a custom script into <head> . |