Create your own off-grid library https://wrolpi.org
Find a file
lrnselfreliance 86893ef7f1
Feature/video validate (#74)
* Videos are marked as validated so they will not be tried again.  All previous bulk methods are combined into one.

* Passing json to fixture factory to avoid writing the files in every test.

* Adding log to explain if refresh is slow.

* Generating video poster if one cannot be found.

* Generating video poster if no poster can be found.

* Videos without a video file (yet to be downloaded) are not validated.

* Video title is extracted from the video file name as a last resort.

* Keeping existing view count because it may be from the channel, which will be more recent.

* Downloads should only be downloaded after they are due, not the same day.

* Setting manager on new downloads.

* Checking if downloading is disabled in loop.

* Adding log when refresh is complete.

* Not generating posters by default.  This is to avoid deleting files.

* Not converting posters unless channel has that enabled.

* Not logging on valid because all posters will be checked.

* Validating videos in upsert.

* Using video name parser in upsert.

* Using validate_video in upsert so that data is only read once from disk.

* Attaching manager in download_manager.get_download.

* Adding 22 to preferred video format for odd 720p resolution.

Signed-off-by: Roland <roland@learningselfreliance.com>
2022-01-14 15:54:51 -07:00
.github/workflows Delete pylint.yml 2021-12-20 16:03:40 -07:00
alembic Feature/video validate (#74) 2022-01-14 15:54:51 -07:00
app Forcing more specific check to avoid flashing. 2022-01-12 09:59:48 -07:00
config A new start 2021-11-01 16:43:09 -06:00
docker Feature/raspberry pi archive (#72) 2022-01-06 13:56:19 -07:00
modules Feature/video validate (#74) 2022-01-14 15:54:51 -07:00
scripts Adding more details to WROLPi install. 2021-11-02 10:53:12 -06:00
systemd Forcing 5000 port for wrolpi app. 2022-01-04 21:08:54 -07:00
test Arbitrary videos can be downloaded. (#63) 2021-12-20 16:09:11 -07:00
wrolpi Feature/video validate (#74) 2022-01-14 15:54:51 -07:00
.dockerignore A new start 2021-11-01 16:43:09 -06:00
.gitignore A new start 2021-11-01 16:43:09 -06:00
.travis.yml A new start 2021-11-01 16:43:09 -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
docker-compose.yml Arbitrary videos can be downloaded. (#63) 2021-12-20 16:09:11 -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 Feature/raspberry pi archive (#72) 2022-01-06 13:56:19 -07: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 Enabling downloads. 2022-01-06 13:56:49 -07:00
nginx.conf Fixing nginx link to icon.s 2021-11-12 14:48:13 -07:00
nginx.dev.conf Using charset utf-8 and including mime.types so HTML files and images are displayed correctly. (#61) 2021-11-12 14:13:02 -07:00
README.md Removing temporary db updating container. 2022-01-03 16:36:58 -07:00
requirements.txt Upgrading dependencies. 2022-01-13 07:03:41 -07:00

WROLPi

Build Status License: GPL v3

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 Alpha!
  • Expect things to change!

Features

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

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 git@github.com:lrnselfreliance/wrolpi.git
  3. Change directory into the code base
    • cd wrolpi
  4. Start the database.
    • docker-compose up -d db
  5. Initialize the database
    • docker-compose run --rm api db upgrade
  6. Start the docker containers
    • docker-compose up
  7. Navigate to 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/master/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