Giter VIP home page Giter VIP logo

larachan's Introduction

LaraChan Logo

LaraChan

A simple 4chan-style imageboard built on Laravel.

  • ๐Ÿง… Tor - Built in Tor proxy
  • ๐Ÿค– CAPTCHA - Self-hosted captchas.
  • ๐Ÿšซ No .JS - No front-end JavaScript.
  • ๐Ÿ–ฅ Laravel - Built on Laravel 8

Getting Started

LaraChan can be installed in 5 easy commands.

git clone [email protected]:anthonybudd/LaraChan.git

cd LaraChan

docker-compose up -d

php artisan larachan:install

php artisan serve

โš ๏ธ Hint: MySQL might take a miniute or so to initalize on first boot

LaraChan Pi

Raspberry Pi Set-up

To set-up a Raspberry Pi server run the following commands.

git clone [email protected]:anthonybudd/LaraChan.git

cd LaraChan

mv docker-compose.arm64.yml docker-compose.yml

// TOR
git clone [email protected]:anthonybudd/nginx-tor-proxy.git && cd nginx-tor-proxy
docker run -ti --entrypoint="mkp224o" -v $(pwd):/tor larachan_larachan-tor-proxy -n 1 -S 10 -d /tor [FILTER] 
mv *.onion web
chmod 700 web
sed -ie 's#xxxxx.onion#'"$(cat web/hostname)"'#g' nginx/tor.conf
cat web/hostname
cd ..

docker-compose build

docker run -it --rm -v $(pwd):/app larachan_larachan composer install

docker-compose up

docker exec -it larachan php artisan larachan:install --platform=pi

Commands

LaraChan comes with some commands to make managing your imageboard easy.

$> larachan:populate

To populate your instance with fake data run the command php artisan larachan:populate

$> larachan:monitor

If you would like an automatically updating live view of all of the most popular threads on your imageboard use the command php artisan larachan:monitor {--threads=5} {--replies=5}

$> larachan:boards

List all the current boards php artisan larachan:boards

$> larachan:create-board

To create a new board run php artisan larachan:create-board {boardName} {boardTitle} {about?}

Example php artisan larachan:create-board pol "Politically Incorrect"

$> larachan:delete-board

To delete a board php artisan larachan:delete-board {boardName}

$> larachan:delete-thread

To delete a thread php artisan larachan:delete-thread {uuid}

$> larachan:delete-reply

To delete a reply php artisan larachan:delete-reply {uuid}

Todo

LaraChan is still in active development.

  • Admin Interface
  • IPFS integration
  • API
  • Tests
  • Fix validation - hacky solution atm, Validator::make()->validate() never returning an error bag? Probable session or Tor issue.

larachan's People

Contributors

taylorotwell avatar driesvints avatar grahamcampbell avatar daylerees avatar franzliedke avatar anthonybudd avatar jasonlewis avatar sparksp avatar cviebrock avatar crynobone avatar tobsn avatar jeffreyway avatar barryvdh avatar tillkruss avatar josephsilber avatar themsaid avatar laurencei avatar bencorlett avatar ericlbarnes avatar neoascetic avatar browner12 avatar jesseobrien avatar jakobud avatar mikelbring avatar sjorso avatar codler avatar kapv89 avatar kbanman avatar roberto-aguilar avatar pedroborges avatar

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.