Hostify Documentation
Turn old PCs into production servers with one line of code.
Host applications from old PCs or home machines using Cloudflare Tunnels. No port forwarding, no dynamic DNS, just pure simplicity.
Quick Example
from hostify import Host
# Host your app in one line
Host(domain="app.example.com", port=3000).serve()
That’s it! Your app is now live at https://app.example.com with automatic HTTPS.
Key Features
✅ One-line API - Simple and intuitive
✅ Automatic HTTPS - Secure by default via Cloudflare
✅ No Port Forwarding - Works behind NAT/firewalls
✅ Cross-Platform - Windows, Linux, macOS
✅ Static Files - Built-in HTTP server
✅ Existing Servers - Works with Flask, Node, PHP, etc.
✅ Auto-Cleanup - Graceful shutdown with Ctrl+C
✅ Auto-Recovery - Restarts on connection issues
Live Demos
Check out these live examples hosted with Hostify:
Static Site: https://hostify.yaspik.tech
Flask App: https://app.yaspik.tech
Getting Started
User Guide
API Documentation
Additional Information
Use Cases
Development - Share local dev server with team
Demos - Show clients your work without deployment
Old Hardware - Turn old PCs into production servers
Home Labs - Host personal projects from home
Testing - Test webhooks and integrations locally
Community & Support
Note
Made with ❤️ for developers who want to host from anywhere
Created by Yuvraj Arora
Uses Cloudflare Tunnel & Cloudflare APIs