The official web app for lemmy.
Go to file
Jeff Sandberg 17bcfe5257
Add metaKey to markdown-textarea, for macos
On MacOS, Ctrl is less commonly used than Command (⌘).
Javascript expresses command as `metaKey`.

This allows for _either_ Ctrl or Command to be used in the Markdown text
area.

Note that on Windows, on some browsers, the "windows" key is labeled as meta, so it would
work on windows as well.

http://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey
2023-07-02 04:11:09 -06:00
.github Merge branch 'main' into actually-last-issue-template-tweaks 2023-06-22 20:36:23 -04:00
.husky Extra lints (#192) 2021-02-21 21:24:09 -05:00
lemmy-translations@a241fe1255 Upgrade lemmy-js-client to 0.18.0-rc.2 (#1445) 2023-06-21 15:08:21 -04:00
src Add metaKey to markdown-textarea, for macos 2023-07-02 04:11:09 -06:00
.babelrc Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.dockerignore Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
.eslintignore Merge branch 'main' into nicer-error-hnadling 2023-05-23 23:07:23 +00:00
.eslintrc.json chore(DX): Add prettier to eslint config for use with editors 2023-06-26 10:37:21 -04:00
.gitignore Replace momentjs with date-fns 2023-06-22 19:33:02 -04:00
.gitmodules Test submodules (#6) 2020-09-10 15:22:21 -04:00
.prettierignore Use git hash to break cache (#1684) 2023-06-29 10:29:33 -04:00
.prettierrc.json Adding Community Language fixes. #783 (#868) 2022-12-19 10:57:29 -05:00
.woodpecker.yml Adding nightly docker build. (#1678) 2023-06-28 16:55:04 -04:00
accessibility_tests.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
CONTRIBUTING.md Remove docs translations from links (#1441) 2023-06-21 10:41:08 -04:00
deploy.sh Use http client (#1081) 2023-06-14 08:20:40 -04:00
dev.dockerfile Use git hash to break cache (#1684) 2023-06-29 10:29:33 -04:00
Dockerfile Try increasing node memory. 2023-06-29 11:12:12 -04:00
generate_translations.js I18 quality of life change (#973) 2023-04-03 09:28:56 -04:00
LICENSE Adding prettier 2020-08-23 00:04:58 -04:00
package.json v0.18.1-rc.7 2023-06-30 16:26:09 -04:00
README.md Use http client (#1081) 2023-06-14 08:20:40 -04:00
test_deploy.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
tsconfig.json Com create post (#1431) 2023-06-21 07:52:32 -04:00
update_translations.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
webpack.config.js fix service worker path 2023-06-30 09:50:19 -04:00
yarn.lock Enforce SameSite=Strict (#1713) 2023-06-30 09:51:41 -04:00

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>.