# Sula: A Gemini protocol server written in Scryer Prolog

> Hacker News story 49187259 · language: en · submitted 2026-08-05
> Web version: https://zeli.app/story/49187259
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 58 · by [triska](<https://news.ycombinator.com/user?id=triska>) · 💬 6
[original](<https://sagredo.dev/projects/sula/>) · [HN discussion](<https://news.ycombinator.com/item?id=49187259>)

## Summary

Sula is a Gemini protocol server implemented in Scryer Prolog, a logic programming language. It leverages a patched version of Scryer Prolog to handle TLS via rustls, stream binary files efficiently, and support graceful shutdown on SIGINT. The server offers content negotiation, hostname verification, and a clean command-line interface. It is designed for simplicity and extensibility, with planned features like client certificates, CGI scripts, and virtual hosting.

## Key quote

> A Gemini protocol server written in Scryer Prolog.

## HN discussion (6 comments)

### [triska](<https://news.ycombinator.com/item?id=49188322>)

> Awesome work, thank you a lot Javier for making this available, and for the Scryer Prolog improvements that make this possible!
>
> I see that almost all of the changes mentioned on the page are in fact already filed for inclusion:
>
> https://github.com/mthom/scryer-prolog/pull/3379
>
> https://github.com/mthom/scryer-prolog/pull/3383
>
> https://github.com/mthom/scryer-prolog/pull/3387
>
> https://github.com/mthom/scryer-prolog/pull/3390
>
> If anyone is interested in contributing to Scryer Prolog and getting these changes included, please have a look and participate in the accompanying discussions, thank you a lot!
>
> For everyone interested in Prolog and its applications, please also consider attending the Scryer Prolog Meetup 2026 on Oct. 24th and 25th in Vienna:
>
> https://www.digitalaustria.gv.at/wissenswertes/events/scryer...
>
> I hope to see several of you there!

### [pooploop64](<https://news.ycombinator.com/item?id=49191419>)

> Always nice to see stuff about the real Gemini.

---

## Cite

- Page: https://zeli.app/story/49187259
- Date: 2026-08-05
- Source: sagredo.dev (https://sagredo.dev/projects/sula/)
- Hacker News: https://news.ycombinator.com/item?id=49187259

## Other languages

- zh: https://zeli.app/zh/story/49187259 · markdown: https://zeli.app/zh/story/49187259.md
- ja: https://zeli.app/ja/story/49187259 · markdown: https://zeli.app/ja/story/49187259.md
- ko: https://zeli.app/ko/story/49187259 · markdown: https://zeli.app/ko/story/49187259.md
- de: https://zeli.app/de/story/49187259 · markdown: https://zeli.app/de/story/49187259.md
- es: https://zeli.app/es/story/49187259 · markdown: https://zeli.app/es/story/49187259.md
