Giter Site home page Giter Site logo

salif / lemmy-onion-service Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 21 KB

Self-hosted Lemmy using the Tor network

Dockerfile 100.00%
lemmy onion onion-forum onion-service onion-sites tor-hidden-service tor-hidden-services tor-onion-service lemmy-instance lemmy-server

lemmy-onion-service's Introduction

Lemmy Onion Service

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform.

I made this git repo for personal use for testing purposes.

New Lemmy instance

Follow these instructions to start a new Lemmy instance using Linux and Docker.

Note that federation is not supported and there's no email server.

Clone the repo

git clone https://github.com/salif/lemmy-onion-service.git
cd ./lemmy-onion-service/

Use mkp224o to generate vanity address. Then run:

# mkp224o
mkdir -p ./volumes/lemmytor/

change 'example.onion' to generated address

cp example.onion/* ./volumes/lemmytor/
sudo chown -R 100:100 ./volumes/lemmytor
sudo chmod -R u+rwX,og-rwx ./volumes/lemmytor
mkdir volumes/pictrs
sudo chown -R 991:991 ./volumes/pictrs

and

cp ./templates/.env .env

Edit .env file (domain is in volumes/lemmytor/hostname) and run:

cp ./templates/nginx_internal.conf nginx_internal.conf
cp ./templates/lemmy.hjson lemmy.hjson
source .env
sed -i -e "s/_SED_1/$domain/g" lemmy.hjson
sed -i -e "s/_SED_2/$postgres_password/g" lemmy.hjson
sed -i -e "s/_SED_1/$domain/g" nginx_internal.conf

Start it:

sudo docker-compose up -d

See also

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.