The interface looks a bit like a terminal
Terminal Hosting - org.digital Full Introduction
Project Overview
Terminal Hosting is a static website hosting platform based on Cloudflare Workers + Supabase + R2. Users can register accounts, claim subdomains, and upload HTML files through a terminal-style web interface using command-line operations to create publicly accessible websites.
Access URL: [reply]https://nic.org.digital[/reply]
Technical Architecture
| Component | Technology | Purpose |
|---|---|---|
| Frontend | HTML/CSS/JS | Terminal-style user interface |
| Backend | Cloudflare Workers | API routing, request handling |
| Database | Supabase (PostgreSQL) | User management, subdomain mapping |
| Storage | Cloudflare R2 | HTML file storage |
| Domain | org.digital | Primary & subdomain hosting |
Features
User System
- Email registration (no verification required)
- Email login
- Automatic token refresh
Subdomain Management
- Users can customize subdomains (e.g.,
myblog.org.digital) - Subdomain uniqueness check
- Must register subdomain before uploading files
File Management
- Supports uploading
.html/.htmfiles - File size limit: 10MB
- File name patterns:
index.html,index2.html, etc. - View files list
- Delete files
Website Access
- Access via your custom subdomain
- Automatic visit statistics
Command-Line Usage Guide
Initial Screen
ββββββββββββββββββββββββββββββββββββββββββ
β Terminal Hosting - org.digital β
β Static HTML Hosting Platform β
ββββββββββββββββββββββββββββββββββββββββββ
Please Login (By Entering "Login" or "Signup"):
>
Available Commands
| Command | Description | Example |
|---|---|---|
login |
Log in to existing account | login |
signup |
Register new account | signup |
domain <name> |
Register subdomain (must do this first) | domain myblog |
upload |
Upload index.html | upload |
upload2 |
Upload index2.html | upload2 |
files |
List all uploaded files | files |
delete <file> |
Delete specified file | delete index.html |
stats |
View usage statistics | stats |
site |
Show public site address | site |
logout |
Log out | logout |
help |
Show help information | help |
How to Use
1. signup # Register account
2. login # Log in
3. domain myblog # Register subdomain (by default, a subdomain matching your email prefix is assigned; this command lets you change it)
4. upload # Upload HTML file
5. Visit https://myblog.org.digital # View your site
Login/Registration Interaction Steps
Registration
> signup
Please Enter Email:
> [email protected]
Please Enter Your Password:
> ********
Creating account...
β
Account created successfully!
Login
> login
Please Enter Email:
> [email protected]
Please Enter Your Password:
> ********
Logging in...
β
Login successful!
File Upload Instructions
Supported Files
.html- HTML web pages.htm- HTML web pages
File Naming Rules
| File Name | Purpose |
|---|---|
index.html |
Main page (shown at the root URL) |
index2.html |
Secondary page |
index3.html |
Other pages |
How to Access
- Main page:
https://your-subdomain.org.digital/ - Specific file:
https://your-subdomain.org.digital/index2.html
System Requirements
User Requirements
- Valid email address
- Password of at least 6 characters
Subdomain Requirements
- Lowercase letters, digits, hyphens only
- Length: 3β32 characters
- Must start and end with a letter or digit
- Must be unique (not used by others)
Valid examples: myblog, test123, my-site
Invalid examples: -myblog, my_blog, my@blog
Error Handling
| Error Message | Solution |
|---|---|
Email already registered |
Use another email or just log in |
Subdomain already taken |
Try another subdomain |
File already exists |
Delete the original file before uploading |
Register a subdomain first |
Run domain <name> first |
Unauthorized or token expired |
Log in again |
Data Storage
Supabase Table Structure
profiles table
| Field | Type | Description |
|---|---|---|
| id | UUID | Primary key |
| user_id | UUID | Links to auth.users |
| TEXT | User email | |
| username | TEXT | Subdomain name |
| total_uploads | INTEGER | Number of uploads |
| total_visits | INTEGER | Number of visits |
R2 Storage Structure
users/
βββ {user-id-1}/
β βββ index.html
β βββ index2.html
βββ {user-id-2}/
β βββ index.html
βββ ...
Limitations
| Item | Limit |
|---|---|
| Single file size | 10 MB |
| File types | Only HTML/HTM |
| Subdomain length | 3β32 characters |
| Subdomain characters | Lowercase letters, digits, hyphens |
User Warning
- You may NOT use this service to build illegal or hate speech sites of any kind
Technical Support
- Type
helpin the terminal for command assistance
Terminal Hosting β A terminal-geek-style static website hosting platform. Manage your site with command-line operations. ββGenerated By DeepSeek
Intro site: https://www.org.digital
User Agreement: https://terms.org.digital (I will conduct random checks; anyone daring to make an illegal site, watch out)
The domain will be shortened in the future.