💾 Archived View for bbs.geminispace.org › u › gemalaya › 12357 captured on 2024-05-10 at 14:01:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

➡️ Next capture (2024-05-26)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 😺 gemalaya

Re: "levior v1.2.5: gemtext filters system and custom gemini..."

In: s/Gemini

Forgot to document the custom responses but here's how it's done (the "status" is an aiogemini Status code):

urules:
  - regexp: "^https?://google"
    response:
      status: 'PROXY_REQUEST_REFUSED'

— https://github.com/keis/aiogemini/blob/master/aiogemini/__init__.py

😺 gemalaya [OP]

2023-12-05 · 5 months ago

Original Post

🌒 s/Gemini

levior v1.2.5: gemtext filters system and custom gemini responses in URL rules. Only a few filters available for now but you can always write your own. [https link]

💬 gemalaya · 1 comment · 2 likes · 2023-12-05 · 5 months ago