skib
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
index.ts
https://netrist--ac56bb8a386e11f0a9539e149126039e.web.val.run
A modern, minimalistic web proxy built with enhanced capabilities for complex websites like YouTube and TikTok.
- π Fast & Reliable - Built on Hono for optimal performance
- π¨ Clean UI - Minimalistic design with dark/light theme support
- π Enhanced Security - Advanced URL encoding and request handling
- π± Mobile Responsive - Works seamlessly on all devices
- π Complex Site Support - Optimized for YouTube, TikTok, and other modern web apps
- β‘ Real-time Processing - Dynamic content injection and modification
βββ backend/
β βββ index.ts # Main Hono server
β βββ proxy/
β β βββ handler.ts # Core proxy logic
β β βββ rewriter.ts # HTML/CSS/JS rewriting
β β βββ encoder.ts # URL encoding/decoding
β βββ middleware/
β βββ cors.ts # CORS handling
β βββ security.ts # Security headers
βββ frontend/
β βββ index.html # Main interface
β βββ components/
β β βββ App.tsx # Main React app
β β βββ ProxyForm.tsx # URL input form
β β βββ Settings.tsx # Configuration panel
β βββ styles/
β β βββ main.css # Custom styles
β βββ utils/
β βββ api.ts # Frontend API helpers
βββ shared/
βββ types.ts # Shared TypeScript types
βββ constants.ts # Shared constants
- Enter any URL in the input field
- Click "Browse" or press Enter
- Navigate the proxied site with full functionality
- Use settings panel for advanced configuration
- Backend: Hono.js with TypeScript
- Frontend: React 18 with TypeScript
- Styling: TailwindCSS with custom components
- Proxy Engine: Custom implementation with advanced rewriting
- Storage: SQLite for session management and settings
The proxy automatically handles:
- URL rewriting and encoding
- JavaScript injection for enhanced compatibility
- CSS modification for proper styling
- CORS and security headers
- Session persistence
- Mobile optimization