-- Leo's gemini proxy

-- Connecting to gemini.bunburya.eu:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Comment by s1nical on 18/04/2023 at 22:17 UTC

1 upvotes, 0 direct replies (showing 0)

View submission: Could a MOO-like functionality be added to Gemini websites?


I think it's important to note that while scripts seem to be very common and might be a straightforward option for simple capsules, fully-fledged server frameworks handle all the grunt work for you and are often far simpler to get started with, given that you have some programming experience.


One of the frameworks which I have written to accomplish this is Windmark[1]. I suggest you check out the examples[2] that I have written; some of them are not far off from the mechanisms which you are describing.


1: https://github.com/gemrest/windmark

2: https://github.com/gemrest/windmark/tree/main/examples


Additionally, Windmark supports extensions via modules, and I've actually written a generic comment engine for anyone to mount in just one line on their own capsule: Windmark Comments[3]. Mounting it is as simple as calling `router.attach_stateless(windmark_comments::module)`.


3: https://github.com/gemrest/windmark-comments


If you are still having a hard time grasping more complex subjects, feel free to browse my personal capsule's source code where I have implemented complex features such as a full-capsule translating engine, data indexing and route caching, a search engine, a web-to-Gemini proxy, and much, much more--my personal capsule, Locus[4].


4: https://github.com/gemrest/locus


I've also written Laurali[5], a simple but strong server framework for Deno (JavaScript, TypeScript, etc.). It isn't nearly as featureful as Windmark, but I've gotten a few heartwarming emails and private messages of individuals who were able to put their ideas on paper thanks to the simplicity of the framework.


5: https://github.com/gemrest/laurali


I think Windmark Comments is the closest in concept to your idea, but feel free to explore and find out what fits best!



Replies


There's nothing here!

-- Response ended

-- Page fetched on Fri May 17 09:38:52 2024