💾 Archived View for celehner.com › proxy captured on 2020-10-31 at 00:41:07. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

➡️ Next capture (2020-11-07)

-=-=-=-=-=-=-

gemini-proxy

A Gemini-to-web proxy and Atom feed expander.

Screenshot/example

Requirements: PHP, php-xml

PHP user must be able to write to its ~/.cache directory.

This program proxies Gemini resources over HTTP. But it is not meant as a general-purpose proxy. Rather, it is intended as a feed proxy, with the specific advantage of expanding feeds.

Feed expansion means turning feeds that contain only summaries into feeds containing the full article for each entry. To perform the expansion, this proxy requests the URL (in the link rel=alternate tag) for each entry, and if it is gemtext, converts it to HTML. We cache the results and only fetch the same link if the entry's <updated> or <created> timestamp changes.

If you like this proxy, you are encouraged to run your own instance of it - ideally on the same device your Atom reader is on. But there may also be hosted instances:

Hosted instances

celehner.com (public)

Source

git clone gemini://celehner.com/proxy/ gemini-proxy

License

Copyright (C) 2020 Charles E. Lehner <cel@celehner.com>

This program is free software: you can redistribute it and/or modify

it under the terms of the GNU Affero General Public License as published

by the Free Software Foundation, either version 3 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License

along with this program. If not, see <http://www.gnu.org/licenses/>.