mirror of
https://github.com/wrolpi/wrolpi-help.git
synced 2026-10-25 18:40:11 -04:00
Expanding documentation with more details for Maps, Zim, Primary-secondary-tertiary, and much more.
This commit is contained in:
parent
b20be7e026
commit
5fbbc04961
17 changed files with 183 additions and 17 deletions
|
|
@ -15,7 +15,7 @@ WROLPi can search any file in your media directory, this can only be accomplishe
|
|||
completed.
|
||||
|
||||
> To refresh all your files, click the **Files** link in the top navigation bar, then click **Refresh All** found at the
|
||||
> bottom of the files page.
|
||||
> bottom of the files table.
|
||||
|
||||
## Files Tools
|
||||
|
||||
|
|
@ -40,7 +40,6 @@ The tool buttons are as displayed:
|
|||
selected.)
|
||||
|
||||
## File Preview
|
||||
<details>hello</details>
|
||||
|
||||
When clicking on any file, WROLPi will attempt to provide you with a preview of the file. If no previewer has been
|
||||
created for the particular file type has been created, then the generic file preview will be used.
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ This is the WROLPi help documentation.
|
|||
1. Storage is cheaper than power.
|
||||
2. Two is one, one is none.
|
||||
3. Run silently.
|
||||
4. [Primary, secondary, tertiary.](system/primary-secondary-tertiary.md)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
# Map
|
||||
|
||||
The Map module allows viewing, and importing of OpenStreetMap PBF files. The map is rendered live as you are using it.
|
||||
Previously renderd tiles (images) are stored on root disk of the system which prevents re-rendering of tiles that have
|
||||
been viewed previously.
|
||||
|
||||
## Map
|
||||
|
||||
The Map tab is a simple iframe around the Apache2 service on port `:8084`
|
||||
|
||||

|
||||
|
||||
## Manage
|
||||
|
||||
The files displayed in the Manage tab are those found in your media directory under `/map`. **Time To Import** is
|
||||
estimated by running many tests importing PBF files on a Raspberry Pi 4. The larger the file, the more inaccurate the
|
||||
time will be.
|
||||
|
||||
> Select all map files you want to import, importing will erase any maps previously imported!
|
||||
|
||||

|
||||
|
||||
### Downloading Map Files
|
||||
|
||||
Map files are available for download from the Geofabrick company. You can download them using the **Files Downloader**,
|
||||
save them to the `map` directory. After they have been downloaded, you will need to import them.
|
||||
|
||||

|
||||
BIN
docs/map/map-manage.png
Normal file
BIN
docs/map/map-manage.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
BIN
docs/map/map-viewer.png
Normal file
BIN
docs/map/map-viewer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
BIN
docs/map/pbf-file-downloader.png
Normal file
BIN
docs/map/pbf-file-downloader.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
15
docs/other/ebooks.md
Normal file
15
docs/other/ebooks.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# eBooks
|
||||
|
||||
eBooks are a secondary file type in WROLPi, which means that they do not yet have a dedicated module, and some features
|
||||
may not yet be available.
|
||||
|
||||
Epub files are desired as ebooks, though some support for Mobi files is provided.
|
||||
|
||||
## Searching
|
||||
|
||||
When indexes for an EPUB are generated, they are searched in the following order of precedence:
|
||||
|
||||
1. Title
|
||||
2. Author
|
||||
3. Text
|
||||
4. File path name
|
||||
13
docs/other/pdfs.md
Normal file
13
docs/other/pdfs.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# PDF
|
||||
|
||||
PDFs are a secondary file type in WROLPi, which means that they do not yet have a dedicated module, and some features
|
||||
may not yet be available.
|
||||
|
||||
## Searching
|
||||
|
||||
When indexes for an PDFs are generated, they are searched in the following order of precedence:
|
||||
|
||||
1. Title
|
||||
2. Author
|
||||
3. File path name
|
||||
4. Text
|
||||
10
docs/other/texts.md
Normal file
10
docs/other/texts.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Text
|
||||
|
||||
Text files are a secondary file type in WROLPi, which means that they do not yet have a dedicated module.
|
||||
|
||||
## Searching
|
||||
|
||||
When indexes for a text files are generated, they are searched in the following order of precedence:
|
||||
|
||||
1. File path name
|
||||
2. Text within the file.
|
||||
11
docs/other/zips.md
Normal file
11
docs/other/zips.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# ZIP
|
||||
|
||||
ZIPs are a secondary file type in WROLPi, which means that they do not yet have a dedicated module, and some features
|
||||
may not yet be available.
|
||||
|
||||
## Searching
|
||||
|
||||
When indexes for a ZIP files are generated, they are searched in the following order of precedence:
|
||||
|
||||
1. File path name
|
||||
2. File names within the zip file.
|
||||
|
|
@ -1,14 +1,21 @@
|
|||
# Overview of WROLPi Systems
|
||||
|
||||
* WROLPi is based off [Debian OS](https://debian.org) and [Raspberry Pi OS](https://www.raspberrypi.com/software/)
|
||||
* WROLPi has 4 user-facing services:
|
||||
* [API](#api)
|
||||
* [App](#app)
|
||||
* [Map](#map)
|
||||
* [Zim](#zim)
|
||||
* WROLPi has several user-facing services:
|
||||
* [Web](#web) (`:80`)
|
||||
* [API](#api) (`:8081`)
|
||||
* [App](#app) (`:8082`)
|
||||
* [Map](#map) (`:8084`)
|
||||
* [Zim](#zim) (`:8085`)
|
||||
* [Help](#help) (`:8086`)
|
||||
|
||||
## Services
|
||||
|
||||
### Web
|
||||
|
||||
The nginx service which facilitates communication between the other services (especially in the docker containers in
|
||||
the development environment.)
|
||||
|
||||
### API
|
||||
|
||||
| Software Project | Purpose |
|
||||
|
|
@ -39,15 +46,46 @@
|
|||
|
||||
### Map
|
||||
|
||||
| Software Project | Purpose |
|
||||
|-------------------------------------------------|------------------------------------------|
|
||||
| [OpenStreetMap](https://www.openstreetmap.org/) | Provides the Map data |
|
||||
| [osmium](https://osmcode.org/osmium-tool/) | Used to merge map PBF files. |
|
||||
| [osm2pgsql](https://osm2pgsql.org/) | Used to import PBF files into Postgresql |
|
||||
| Software Project | Purpose |
|
||||
|-------------------------------------------------|-------------------------------------------|
|
||||
| [OpenStreetMap](https://www.openstreetmap.org/) | Provides the Map data. |
|
||||
| [osmium](https://osmcode.org/osmium-tool/) | Used to merge map PBF files. |
|
||||
| [osm2pgsql](https://osm2pgsql.org/) | Used to import PBF files into Postgresql. |
|
||||
|
||||
### Zim
|
||||
|
||||
| Software Project | Purpose |
|
||||
|-------------------------------------------------------|-------------------------------|
|
||||
| [Kiwix](https://kiwix.org) | Provides the ZIM files |
|
||||
| [Kiwix Server](https://github.com/kiwix/kiwix-tools/) | Hosts the ZIM files interface |
|
||||
| Software Project | Purpose |
|
||||
|-------------------------------------------------------|--------------------------------|
|
||||
| [Kiwix](https://kiwix.org) | Provides the ZIM files. |
|
||||
| [Kiwix Server](https://github.com/kiwix/kiwix-tools/) | Hosts the ZIM files interface. |
|
||||
|
||||
### Help
|
||||
|
||||
| Software Project | Purpose |
|
||||
|-----------------------------------|--------------------------------------------|
|
||||
| [Mkdocs](https://www.mkdocs.org/) | Serves these Markdown documentation files. |
|
||||
|
||||
## Development Only Services
|
||||
|
||||
If using the Docker containers (the development environment), you may have additional services:
|
||||
|
||||
* [Web](#development-web) (`:8080`)
|
||||
* [Archive](#archive) (`:8083`)
|
||||
|
||||
### Development Web
|
||||
|
||||
| Software Project | Purpose |
|
||||
|-----------------------------|---------------------------------------------------------------|
|
||||
| [nginx](https://nginx.org/) | Facilitates integration between development docker containers |
|
||||
|
||||
### Archive
|
||||
|
||||
Separation of the API and the Archive service is necessary to prevent an overly complex API docker container.
|
||||
|
||||
| Software Project | Purpose |
|
||||
|------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
|
||||
| [Python](https://python.org) | The language of the Archive service. |
|
||||
| [Sanic](https://sanic.dev) | An async web app framework, used to facilitate archiving of webpage in the development environment. |
|
||||
| [SingleFile](https://github.com/gildas-lormeau/SingleFile) | Used to create Archives. |
|
||||
| [Readability](https://github.com/mozilla/readability) | Used to extract the article from an Archive. |
|
||||
| [Chromium](https://chromium.org) | Used to create Archives. |
|
||||
|
|
|
|||
12
docs/system/primary-secondary-tertiary.md
Normal file
12
docs/system/primary-secondary-tertiary.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Primary, Secondary, Tertiary.
|
||||
|
||||
WROLPI attempts to integrate all services in an easy to learn interface. But, if the React app is unavailable, secondary
|
||||
and tertiary options to use your WROLPi may be available.
|
||||
|
||||
| Module | Primary | Secondary | Tertiary |
|
||||
|----------|-----------|---------------------------------------------------------|-----------------------------------------------------|
|
||||
| Videos | React App | VLC application | Subtitle files can be opened with a text editor. |
|
||||
| Archives | React App | Open Archive files directly with Chromium | Readability files can be opened with a text editor. |
|
||||
| Map | React App | Map is directly accessible on port `:8084` | None |
|
||||
| Zim | React App | Kiwix server is directly accessible on port `:8085` | Kiwix application |
|
||||
| Help | React App | Markdown files are available in `/opt/wrolpi-help/docs` | None |
|
||||
|
|
@ -59,4 +59,12 @@ On this page, you can modify the download frequency, the channel name, or the UR
|
|||
change the channel's directory.
|
||||
|
||||
At the bottom of this page you will see the statistics of the channel's video files. This is useful if you want to be
|
||||
sure that all videos were found during a refresh.
|
||||
sure that all videos were found during a refresh.
|
||||
|
||||
## Searching
|
||||
|
||||
When the indexes for a Video are generated for searching, they are searched in the following order of precedence:
|
||||
|
||||
1. Title
|
||||
2. Description
|
||||
3. Subtitles
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
# Zim
|
||||
|
||||
The Zim module facilitates viewing, organizing, and downloading Zim files provided by the Kiwix project.
|
||||
|
||||
## Viewer
|
||||
|
||||
The Viewer tab is a simple iframe around the Kiwix service on port `:8085`
|
||||
|
||||

|
||||
|
||||
## Manage
|
||||
|
||||
The Manage tab displays a list of Zim files that WROLPi has detected, allowing for search and viewing capabilities.
|
||||
It also offers a catalog from which select Kiwix Zim files can be subscribed to. The maximum sizes are estimates, based
|
||||
on the historical data of each specific Zim file.
|
||||
|
||||

|
||||
|
||||
## Subscriptions
|
||||
|
||||
Zim files in the subscription list will be downloaded every 180 days. WROLPi will suggest deleting old Zim files through
|
||||
a message on the home page, if any are detected at startup. You can safely unsubscribe from any Zim file without
|
||||
automatic deletion of files.
|
||||
|
||||
### Custom Zim files
|
||||
|
||||
WROLPi will search any Zim file found in the `zims` directory, but not every project from Kiwix can be found in the
|
||||
subscription list. If you would like to download a specific Zim file, use the **Files Downloader** and save the file to
|
||||
the `zims` directory. (You may need to restart your WROLPi for the new Zim file to be found.)
|
||||
|
||||

|
||||
BIN
docs/zim/zim-file-downloader.png
Normal file
BIN
docs/zim/zim-file-downloader.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
docs/zim/zim-manage-page.png
Normal file
BIN
docs/zim/zim-manage-page.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
BIN
docs/zim/zim-viewer-page.png
Normal file
BIN
docs/zim/zim-viewer-page.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
Loading…
Add table
Add a link
Reference in a new issue