-- Leo's gemini proxy
-- Connecting to bbs.geminispace.org:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini; charset=utf-8
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?
Jan 24 ยท 4 months ago
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
I used that project to server files, never made any fancy integration, although was thinking of building the twtxt client there.
This by @chluehr is relevant here:
There is also JAGS, which is based on gemini-php. somewhat advanced but still very simple to use: https://codeberg.org/codeandcreate/JAGS-PHP
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