๐ Introduction to HSX
HSX (HyperScript eXtended) is a brand new full-stack programming language designed for rapid web development. It combines frontend UI rendering with backend server capabilities in a single, simple syntax.
Write both frontend UI and backend logic in the same file using the same syntax. No more context switching between HTML, CSS, JavaScript, and backend code.
HSX uses intuitive tags like +T_X_T+ for text and {' '} for API routes. Every line starts with HSX: making it instantly recognizable.
HSX is designed to run inside Docker containers with automatic detection, resource limits, and auto-restart. Deploy to School-GIT with one click.
HSX powers the CPGH web framework, giving you pages, protocols, authentication, caching, sessions, and databases out of the box.
Simple syntax, minimal boilerplate
Compiled to optimized JavaScript
Isolated, secure, auto-scaling
Here's a complete HSX program that displays a welcome message:
This code creates a dark-themed page with a heading, text paragraph, and a button.
Set up HSX locally
Learn the fundamentals
See real-world code