2021-04-02 10:47:07 +00:00
|
|
|
# reader.php
|
2021-04-02 22:03:21 +00:00
|
|
|
![Screenshot of reader.php in action](reader.php.png)
|
|
|
|
|
2021-04-02 10:47:07 +00:00
|
|
|
Convert news articles to Gemtext
|
|
|
|
|
2021-04-02 12:45:27 +00:00
|
|
|
Live at gemini://illegaldrugs.net/cgi-bin/reader
|
|
|
|
|
2021-04-02 10:47:07 +00:00
|
|
|
## Requirements
|
|
|
|
- PHP 7 (at least thats what I used)
|
|
|
|
- [readability.php](https://github.com/andreskrey/readability.php)
|
|
|
|
- A gemini server that supports CGI
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
- `composer require andreskrey/readability.php`
|
|
|
|
- Put the `vendor` folder one directory above your cgi-bin
|
|
|
|
- Put `reader` in your cgi-bin
|
|
|
|
- If your `vendor` folder is in a different place, change the corresponding variable in the script
|
|
|
|
|
|
|
|
(c) oneseveneight/sose
|