Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The official web app for lemmy.

License

NotificationsYou must be signed in to change notification settings

LemmyNet/lemmy-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub tag (latest SemVer)Build StatusGitHub issuesDocker PullsTranslation statusLicenseGitHub stars

A link aggregator and forum for the fediverse.

Join Lemmy ·Documentation ·Matrix Chat ·Report Bug ·Request Feature ·Releases ·Code of Conduct

About The Project

DesktopMobile
desktopmobile

Lemmy is similar to sites likeReddit,Lobste.rs, orHacker News: you subscribe to forums you're interested in, post links and discussions, then vote, and comment on them. Behind the scenes, it is very different; anyone can easily run a server, and all these servers are federated (think email), and connected to the same universe, called theFediverse.

For a link aggregator, this means a user registered on one server can subscribe to forums on any other server, and can have discussions with users registered elsewhere.

It is an easily self-hostable, decentralized alternative to Reddit and other link aggregators, outside of their corporate control and meddling.

Each Lemmy server can set its own moderation policy; appointing site-wide admins, and community moderators to keep out the trolls, and foster a healthy, non-toxic environment where all can feel comfortable contributing.

You can find more information in theBackend Repository.

Development

You need to havepnpm installed. Then run the following:

git clone https://github.com/LemmyNet/lemmy-ui.gitcd lemmy-uipnpm installLEMMY_UI_BACKEND=https://voyager.lemmy.ml pnpm dev

Finally openhttp://localhost:1234 in your browser. This uses the public test instancehttps://voyager.lemmy.ml/ as backend. For more details such as developing with a locally compiled Lemmy backend, read thedocumentation.

Configuration

The following environment variables can be used to configure lemmy-ui:

ENV_VARtypedefaultdescription
LEMMY_UI_HOSTstring0.0.0.0:1234The IP / port that the lemmy-ui isomorphic node server is hosted at.
LEMMY_UI_FRONTENDstringundefinedThe base url where browsers can reach the lemmy-ui server, is inferred from request headers when undefined. (Protocol is optional)
LEMMY_UI_BACKENDstringlocalhost:8536The base url for lemmy-ui in the browser to connect to the lemmy backend server. (Protocol is optional)
LEMMY_UI_BACKEND_INTERNALstringLEMMY_UI_BACKENDThe base url for the lemmy-ui server to connect to the lemmy backend server. (Protocol is optional)
LEMMY_UI_HTTPSboolfalseUseshttps:// as the default protocol for base urls.
LEMMY_UI_EXTRA_THEMES_FOLDERstring./extra_themesA location for additional lemmy css themes.
LEMMY_UI_DISABLE_CSPboolfalseDisables CSP security headers
LEMMY_UI_CUSTOM_HTML_HEADERstringundefinedInjects a custom script into<head>.

Debugging

These environment variables are for debugging purposes and are disabled by default for production builds, but can be enabled explicitly.

ENV_VARtypedefaultevaluationdescription
LEMMY_UI_ERUDAbooltrueruntimeEnables Eruda, the console for mobile browsers. (In production Eruda partially violates the CSP, but remains useful.)
LEMMY_UI_SOURCE_MAPSbooltruebuildtimeGives browsers and node the ability to report accurate stack traces.
LEMMY_UI_SERVE_CSS_MAPSboolfalseruntimeServes.css.map files when requested. Map files are untracked, runpnpm themes:build to generate and update them.
LEMMY_UI_COMPRESSIONbooltrueruntimeEnables response body compression, useful to test on slow connections.

Credits

Icons fromFeather Icons.

Code template based off of MrFoxPro'sinferno-isomorphic-template.

About

The official web app for lemmy.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors135

Languages


[8]ページ先頭

©2009-2025 Movatter.jp