Skip to content

Conversation

@druid-infra
Copy link
Contributor

Summary

Comprehensive documentation for Druid's Scroll system - OCI artifacts that define application deployment and management.

Content

  • Introduction: What scrolls are and why they exist
  • Registry Overview: 95 published scrolls across games
  • scroll.yaml Format: Complete field reference
  • Creating Scrolls: Step-by-step guide
  • ColdStarter Integration: Packet handlers for wake-on-demand
  • Plugin System: RCON, SFTP, metrics, backups
  • Environment Variables: Built-in and custom variables
  • Best Practices: Versioning, idempotency, updates
  • Contributing: Guidelines and review process
  • Troubleshooting: Common issues and solutions
  • Advanced Topics: Custom dependencies, multi-stage procedures
  • Examples: HTTP server, PostgreSQL, game servers

Key Features Documented

✅ Declarative deployment manifests
✅ OCI-compliant artifact format
✅ Version control and reproducibility
✅ 95 published scrolls (Minecraft, Rust, Hytale, LGSM)
✅ Command and procedure system
✅ Dependency management
✅ Plugin extensibility
✅ Community contribution workflow

Target Audience

  • Developers creating custom scrolls
  • Contributors adding new game support
  • Platform developers understanding scroll architecture
  • Anyone deploying applications on Druid

Position: docs/scrolls/ (new section)

- Explain Scroll concept (OCI artifacts for deployment)
- Document scroll.yaml format and all fields
- Provide examples for 95+ game servers
- Detail command system and procedures
- Cover ColdStarter integration
- Document plugin system
- Include best practices and contribution guidelines
- Add troubleshooting and advanced topics
@druid-infra
Copy link
Contributor Author

Error: This repo is not allowlisted for Atlantis.

@cloudflare-workers-and-pages
Copy link
Contributor

cloudflare-workers-and-pages bot commented Feb 10, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
docs 4743d1c Commit Preview URL

Branch Preview URL
Feb 10 2026, 03:11 PM

Lugh (Druid Bot) added 7 commits February 10, 2026 14:11
- Replace Next Steps section with external GitHub links
- Fixes broken link errors for files that don't exist yet
- Add prominent section explaining command names are 100% customizable
- No required names (start, stop, install are just conventions)
- Show multiple examples with custom names (launch, halt, setup, etc.)
- Add FAQ clarifying this freedom
- Update all command references to emphasize customization
- Remove generic 'built-in dependencies' list
- Add comprehensive Nix section explaining why/how it works
- Explain isolation, reproducibility, 80k+ package library
- Show real-world examples (multi-version Java)
- Explain Nix store, caching, and performance benefits
- Emphasize Nix as foundational to Druid architecture
- Link to nixpkgs search for package discovery
- Replace 'Fork the Repository' with 'Find Examples' linking to scrolls repo
- Remove incorrect commands: druid scroll build, druid scroll deploy, druid start
- Add correct commands: druid scroll validate, druid serve, druid run <command>
- Remove 'Publish to Registry' section (maintainer-only workflow)
- Verified against druid-cli source code
- Verified all modes from druid-cli source code
- Removed incorrect modes: signal, http, write (don't exist)
- Added actual modes: exec, exec-tty, stdin, scroll-switch, rcon, command
- Added correct data formats for each mode
- Note about plugin-provided modes
- Removed package list from Dependencies subsection
- Removed package examples from Available Packages subsection
- Keep Nix section generic, just point to nixpkgs search
- Users can discover packages themselves at search.nixos.org
- Reduced from 665 to 260 lines
- Verified druid scroll validate, druid serve, druid run against CLI source
- Verified procedure modes: exec, exec-tty, stdin, scroll-switch, rcon, command
- Verified scroll.yaml field names against domain/scroll.go
- Removed repetitive examples and fluff
- Keep only essential information
@druid-infra druid-infra merged commit fabe5cb into master Feb 10, 2026
2 checks passed
@druid-infra druid-infra deleted the feat/scroll-system-docs branch February 10, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant