#!/usr/bin/env python3 """DRACO theme part 2: library, pricing, api pages. Jinja vars injected by app.render().""" PAGE_LIBRARY = """
__STATS__. Every passage DRACO cites comes from these shelves. Downloads are free for personal use — this is the library, open to the public.
| Collection | Contents |
|---|---|
| library_linux | The coding canon: C/C++, Python, Perl, PHP, Java, assembly, SQL/databases, web, Unix/Linux internals, networks & security, math, Apache, Windows/M$. |
| hackerpack | The Hacker Pro Pack: exploitation, malware, network attacks, crypto, wireless, OSINT, lockpicking-of-the-digital-kind, and the classics of the scene. |
No subscriptions. No accounts-with-email-verification loops. Bitcoin only, self-hosted BTCPay — no card processor ever sees you or us.
| Pack | Price | Credits | $/credit | |
|---|---|---|---|---|
| {{ name }} | ${{ '%.2f'|format(p.usd) }} | {{ p.credits }} | ${{ '%.3f'|format(p.usd / p.credits) }} |
One endpoint, RAG-grounded answers with citations. Free {{ free_monthly }} calls/month. Works with curl, any HTTP client, or as an MCP tool for your agents.
curl -s -X POST {{ base }}/api/ask \\
-H 'Content-Type: application/json' \\
-d '{"q": "explain integer overflow with C poc", "api_key": "sk-draco-..."}'
→ {"answer": "...", "sources": [{"title": "...", "category": "..."}]}
curl -s "{{ base }}/api/search?q=tcp+syn+flood&k=5" \\
-H 'X-API-Key: sk-draco-...'
curl -s {{ base }}/api/my-usage -H 'X-API-Key: sk-draco-...'
{
"mcpServers": {
"draco": { "url": "{{ base }}/mcp" }
}
}
Tools: draco_ask · draco_search · draco_status.
Machine-readable docs: llms.txt · openapi.json ·
ai-plugin.json
| Tier | Limits |
|---|---|
| Web (no key) | {{ free_day }} questions/day per IP |
| Free API | {{ free_monthly }}/month, then buy credits |
| Paid credits | 1 credit = 1 ask/search, never expire |
| Admin | unlimited — contact |