Create your own off-grid library https://wrolpi.org
Find a file
Roland b6b04f2739
Removing unused code. Updating comments.
Removing timeout.  Updating tests now that downloads work.

Bumping version for async downloads.

Downloads run asynchronously.  Using aiohttp to make archive http request so ArchiveDownloader.do_download can be asynchronous.

Removing session for create_download(s) usages.

Reworkingk create_downloads to use optional_session.

Canceling download workers after tests and when stopping the manager.

All tests passing.

Tests pass!

Downloader tests pass.

DownloadManager uses multiple workers to download domains in parallel.
2022-07-22 16:35:42 -06:00
.circleci Removing Latex as dependency. Using browser to convert OTP pads into printable documents. 2022-06-26 16:27:56 -06:00
.github/workflows Delete pylint.yml 2021-12-20 16:03:40 -07:00
alembic Increasing file size column to bigint to allow for larger files. 2022-06-22 17:36:49 -06:00
app Updating timeout to match new timeout logic. 2022-06-30 16:02:38 -06:00
docker Removing Latex as dependency. Using browser to convert OTP pads into printable documents. 2022-06-26 16:27:56 -06:00
etc Moving systemd configs to system config directories. 2022-03-19 15:55:28 -06:00
modules Removing unused code. Updating comments. 2022-07-22 16:35:42 -06:00
scripts Removing Latex as dependency. Using browser to convert OTP pads into printable documents. 2022-06-26 16:27:56 -06:00
test Testing bad captions file parsing. 2022-02-01 09:56:59 -07:00
wrolpi Removing unused code. Updating comments. 2022-07-22 16:35:42 -06:00
.dockerignore A new start 2021-11-01 16:43:09 -06:00
.gitignore Ignoring test map files. 2022-03-12 09:50:43 -07:00
.travis.yml A new start 2021-11-01 16:43:09 -06:00
50x.html Adding helpful log notes to 50x.html. Suggesting changing media directory permissions after install. 2022-05-19 21:33:42 -06:00
alembic.ini A new start 2021-11-01 16:43:09 -06:00
conftest.py Arbitrary videos can be downloaded. (#63) 2021-12-20 16:09:11 -07:00
demo_link.jpg Using smaller custom image for demo link. 2022-01-21 10:30:41 -07:00
docker-compose.yml config is no longer mounted. 2022-03-12 10:17:04 -07:00
icon.ico A new start 2021-11-01 16:43:09 -06:00
icon.png A new start 2021-11-01 16:43:09 -06:00
install.sh Adding wrolpi directory to global safe directory. 2022-05-18 08:20:05 -06:00
join_discord.png A new start 2021-11-01 16:43:09 -06:00
LICENSE A new start 2021-11-01 16:43:09 -06:00
main.py Removing unused code. Updating comments. 2022-07-22 16:35:42 -06:00
nginx.conf Squashed commit of the following: 2022-03-08 13:26:03 -07:00
nginx.dev.conf Adding link to /docs for new Sanic version. 2022-02-03 10:07:04 -07:00
README.md Updating Readme Ubuntu installation link. 2022-05-17 16:20:10 -06:00
requirements.txt Removing unused code. Updating comments. 2022-07-22 16:35:42 -06:00
UPGRADE.md Including map volumes in upgrade instructions. 2022-05-03 11:07:48 -06:00

WROLPi

Build Status License: GPL v3 Discord

Take your internet, off-grid.

WROLPi Logo

WROLPi is a self-contained collection of software (on a Raspberry Pi) to help you survive the world Without Rule of Law.

WROLPi is intended to be run on a Raspberry Pi with an optional external drive attached. It serves up it's own wifi network so that any person with a laptop/tablet/phone can connect and use the data previously collected by the user.

WARNING WROLPi is under active development!

  • WROLPi is in Beta!
  • Expect things to change!

Table of Contents

Features

  • Video player & downloader
  • Web archiver
  • Map viewer
  • Wi-Fi Hotspot
  • Universal search
  • Food Inventory management
  • One-Time pad generator, encrypter/decrypter
  • eBook viewer
  • Wiki viewer & downloader
  • Synchronizer and/or duplicator
  • Food storage calculator
  • Podcast player & downloader

Demo

YouTube Demo Video

Try WROLPi!

You can try out WROLPi by running the docker containers.

  1. Install docker-ce and docker-compose
  2. Copy the latest WROLPi code
    • git clone https://github.com/lrnselfreliance/wrolpi.git
  3. Change directory into the code base
    • cd wrolpi
  4. Build the containers
    • docker-compose build --parallel
  5. Create volumes
    • docker volume create --name=openstreetmap-data
    • docker volume create --name=openstreetmap-rendered-tiles
  6. Start the database.
    • docker-compose up -d db
  7. Initialize the database
    • docker-compose run --rm api db upgrade
  8. Start the docker containers
    • docker-compose up
  9. Browse to WROLPi

Debian 11 Install

Install WROLPi onto a fresh Debian 11 system.

Warning: this will clobber anything else on the system! Do not run this installation script elsewhere!

  1. Install Debian 11 onto a laptop or other computer.
  2. Login to the new system.
  3. Get the WROLPi installation script
    • wget https://raw.githubusercontent.com/lrnselfreliance/wrolpi/release/install.sh -O /tmp/install.sh
  4. Run the installation script
    • sudo /bin/bash /tmp/install.sh
  5. Start WROLPi
    • sudo systemctl start wrolpi.target
  6. Browse to the IP address of your WROLPi!

RaspberryPi Install

Install WROLPi onto a fresh Raspberry Pi.

Warning: this will clobber anything else on the Raspberry Pi! Do not run this installation script elsewhere!

  1. Install Ubuntu Server 20.04 onto a RaspberryPi.
  2. Login to the new RaspberryPi.
  3. Get the WROLPi installation script
    • wget https://raw.githubusercontent.com/lrnselfreliance/wrolpi/release/install.sh -O /tmp/install.sh
  4. Run the installation script
    • sudo /bin/bash /tmp/install.sh
  5. Start WROLPi
    • sudo systemctl start wrolpi.target
  6. Join the Hotspot or browse to the IP address of your WROLPi!

Charter

Physical properties

  1. A WROLPi instance should be capable of running with a minimal of hardware:
    • Raspberry Pi
    • SD card
    • External USB hard drive
    • Power supply and cables
    • WiFi USER device such as a phone, tablet, or laptop.
  2. A WROLPi instance should consume a minimal amount of electricity during WROL event. It is expected power will be scarce when WROLPi is needed most.

User expectations

  1. A WROLPi instance should be run and maintained by a person (MAINTAINER) with a moderate amount of Linux and Raspberry Pi experience. It is expected that they should be able to do this using only the documentation on their WROLPi.

Software properties and capabilities

  1. A WROLPi instance should be able to "factory-reset" itself without any outside services.
  2. WROLPi should function completely without any internet services.
  3. A user should have easy access to their data if WROLPi fails:
    • For example, a user can watch their videos by navigating a short and intuitive directory structure and opening the video in their preferred video player.
  4. WROLPi should be self-documented. The UI should contain a tutorial for USERS as well as the MAINTAINER.
    • If the UI isn't functional, the code should be documented such that a user can restore functionality.
  5. WROLPi should favor pre-processing, rather than processing during a WROL event. Such as re-encoding a video, or processing captions. This is to ensure that when a user adds content during non-WROL time, the processing for optimum performance is already done for a WROL event.

Join!

Discord QR Code

Join our Discord