Tutorials¶
Welcome to the Nauyaca tutorials! This section contains hands-on, step-by-step guides designed to help you learn by doing. Each tutorial walks you through a complete task from start to finish, building your understanding of the Gemini protocol and the Nauyaca implementation.
Available Tutorials¶
-
Your First Capsule
Build and serve your first Gemini capsule in minutes. Learn the basics of server setup, content creation, and navigation.
Level: Beginner Time: ~15 minutes
-
Building a Client
Write a Python application that fetches and displays Gemini content. Understand the client protocol and TOFU security.
Level: Intermediate Time: ~20 minutes
-
Securing Your Server
Add rate limiting, access control, and certificate authentication to protect your capsule from abuse.
Level: Intermediate Time: ~30 minutes
Prerequisites¶
Before starting these tutorials, you should have:
- Python 3.11 or later installed on your system
- Nauyaca installed - See the Installation Guide if you haven't already
- Basic Python knowledge - Understanding of functions, async/await, and basic command-line usage
- Text editor - Any editor you're comfortable with
Recommended Learning Path¶
If you're new to Nauyaca or the Gemini protocol, we recommend following the tutorials in this order:
- Start with Your First Capsule to understand the server side and Gemini content format
- Move to Building a Client to see how clients interact with capsules
- Finish with Securing Your Server to learn production-ready security practices
Each tutorial is self-contained, so you can also jump directly to the one that interests you most.
Getting Help¶
If you get stuck or have questions while working through a tutorial:
- Check the How-to Guides for specific task solutions
- Consult the API Reference for detailed technical information
- Review the Explanation section for deeper conceptual understanding
Ready to start? Choose your first tutorial above and begin your journey with Nauyaca!