Comment by 🦎 bluesman

Re: "I Added Scripting To Gemini"
In: u/bluesman

@clarahd It wouldn't violate the spec if I used <script></script> instead of preformatted text. The pages fed into Scriptonite are basically templates that can also be viewed by any Gemini client. Preformatted text makes sense because that's how we view code in Gemini anyway.

I'm not sure about your analogy but if you want table formatting you could probably emulate what Gemipedia does in Scriptonite (or CGI if you have server access). That might be a cool library.

🦎 bluesman [OP]

Jul 11 · 5 months ago

Original Post

🦎 bluesman
— Gemini Scripting Revisited

I Added Scripting To Gemini — I wrote a gemlog about it. It doesn't break the spec and works in all clients. In a nutshell, it's a service that interprets gemini pages with embedded JavaScript. There are a couple example programs at the link including a simple game. Because scripts have the ability to request data from the user, it's much more useful than first thought.

💬 21 comments · 4 likes · Jul 09 · 6 months ago