Giter Club home page Giter Club logo

OpenLemmy

OpenLemmy is an implementation of the upstream LemmyNet project.

The purpose of this project is to create an easy to use containerized distribution of Lemmy. Easy deployment and customization for any Lemmy instance is our goal. Developer documentation and onboarding will be the starting focus of this project.

๐Ÿ“ OpenLemmy Architecture

Architecture overview for OpenLemmy.

%% TODO: Create architecture diagram

๐Ÿš€ Quick Start

Requirements

  1. Docker Desktop (Podman Desktop/Rancher Desktop in testing)
  2. Terraform
  3. NodeJS

๐Ÿณ Docker

This will create an OpenLemmy instance on your local computer or server for development purposes.

Start OpenLemmy

# Start OpenLemmy
docker compose up -d

Visit http://localhost:80 on you computer. NGINX is listening on port 80 by default.

Username: admin > Password: secret

Stop and kill

docker compose stop # Stop OpenLemmy
docker compose down # Remove containers

๐ŸŒฑ Terraform

Digital Ocean is the first to be worked. Azure will come second and AWS third.

# Setup Terraform for dev environment
cd terraform/do # Other services coming soon
cp .example.tfvars .auto.tfvars
terraform init
terraform plan
terraform apply # BE CAREFUL! This will modify infrastructure.

๐Ÿงจ Decommission

๐Ÿšฉ BE CAREFUL! This will destroy all associated infrastructure.

terraform destroy -var-file=YOUR_VARS.tfvars

โš™๏ธ Workspaces

Env Command
Dev terraform workspace select default
Test terraform workspace select test
Stage terraform workspace select stage
Prod terraform workspace select prod

Learn more in the worspaces docs.

๐ŸŒŽ Remote State

Learn more in the state docs.

๐Ÿ’ก Tips

  • You can name your vars file terraform.tfvars or give it the extension .example.auto.tfvars and terraform will automatically use this file.

๐Ÿ™‹ Help

Until we get our own instance going, please use the following resources to get in touch.

OpenLemmy's Projects

lemmy icon lemmy

๐Ÿ€ A link aggregator and forum for the fediverse

mlmym icon mlmym

a familiar desktop experience for lemmy

openlemmy icon openlemmy

OpenLemmy is an implementation of the upstream LemmyNet project.

wefwef icon wefwef

wefwef โ€” a mobile-first Lemmy web client

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.