How-to Guides¶
Task-oriented guides for specific features. Each guide focuses on solving a particular problem.
-
Define routes, extract path parameters, name routes, and reverse URLs.
-
Collect user input with prompts and sensitive data handling.
-
Return different response types: success, input, redirect, and build links.
-
Use Jinja2 templates for cleaner Gemtext generation.
-
Create and use middleware for logging, timing, and rate limiting.
-
Run periodic tasks on intervals or cron schedules.
-
Implement certificate-based authentication and authorization.
-
Serve static files, images, and directories from your capsule.
-
Execute external CGI scripts and programs.
-
Handle errors and return appropriate status codes.
-
Write tests for your Xitzin applications.
-
Deploy your capsule to production.
-
Host multiple applications under different hostnames on a single server.