-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Gemini & PHP


Is there a good way to integrate/use PHP with a Gemini server and what server should I choose for that?


Can I use Agate for this?


Posted in: s/Gemini

๐Ÿš‚ MrSVCD

Jan 24 ยท 4 months ago


5 Comments โ†“


๐Ÿš€ eapl ยท Jan 24 at 15:14:

Well, I updated a bit a gemini-php project a few years ago. Sadly my VPS self-destroyed, and I don't have it anymore, so I can't say if that code works, but I think it's a good starting point: https://github.com/eapl-gemugami/gemini-php


๐Ÿš€ eapl ยท Jan 24 at 15:16:

I used that project to server files, never made any fancy integration, although was thinking of building the twtxt client there.


๐Ÿ•น๏ธ skyjake [mod...] ยท Jan 24 at 16:18:

This by @chluehr is relevant here:

โ€” farcaster.net/news/2023-11-29.gmi


๐Ÿฆ‰ scops ยท Jan 26 at 11:25:

There is also JAGS, which is based on gemini-php. somewhat advanced but still very simple to use: https://codeberg.org/codeandcreate/JAGS-PHP


๐Ÿ’Ž istvan ยท Jan 29 at 20:00:

You just run PHP as a CGI script. Make sure it starts with the right shebang to your PHP binary and you are good to go. Works fine in gmcapsule server.

-- Response ended

-- Page fetched on Sun May 19 20:37:52 2024