20 lines
579 B
Markdown
20 lines
579 B
Markdown
# reader.php
|
|
![Screenshot of reader.php in action](reader.php.png)
|
|
|
|
Convert news articles to Gemtext
|
|
|
|
Live at gemini://illegaldrugs.net/cgi-bin/reader
|
|
|
|
## 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
|