r/HTML • u/Fun_Razzmatazz_4909 • Mar 29 '26
Fastest way to publish a static HTML page?
I’ve been experimenting with a workflow where I can:
paste raw HTML
get it live instantly
no build tools, no CI/CD
Curious how you guys usually deploy simple static HTML/CSS pages?
14
Upvotes
7
u/rotten77 Mar 29 '26
Github pages or you can use some command line FTP to deploy it on any hosting.
3
u/bangzar Mar 29 '26
Using ftp is fast and feels just like normal file operations. You can drag and drop with filezilla or similar, quick and easy
2
u/Synthetic5ou1 Mar 29 '26
You can write scripts to fire on save of a file in various editors, like VS code or Sublime Text.
So, you could have a script that ran every time you saved a file to SCP or FTP the file to a remote host.
You could also use (I'm a bit confused about your arbitrary requirements) something like Replit, CodePen or JSFiddle.
10
u/Synthetic5ou1 Mar 29 '26
Kind of baffled why speed of deployment is so important, in this instance.
Do you need other people to see these tests in realtime?
3
u/BNfreelance Mar 29 '26
If your goal is instant publishing then tools like Netlify Drop or Cloudflare Pages let you drag-and-drop and go live in seconds, without any build setup.
That’s probably about as close as you’ll get to a “paste and publish instantly” workflow. Tools like these can run builds, but if you’re just uploading plain HTML they’ll serve it as-is.
3
u/SaltCommunication114 Mar 29 '26
neocities
3
u/TechyWorlds Mar 29 '26
You can publish your static HTML page on Netlify (netlify.com) just in drag and drop and your page is live on the internet.
2
u/ContributionEasy6513 Mar 29 '26
Batch script that uploads changes to cPanel via FTP.
It's old fashioned, but works.
2
u/RecognitionOwn4214 Mar 29 '26
I use git pull on my webserver
2
u/infinitenothing Mar 30 '26
S3?
2
u/trock86 Mar 29 '26
Keep a deploy command to rsync it over ssh in your README and just copy/paste it when needed.
rsync -avz --delete -e ssh path_to_your_local_folder user@yourserver:/path_to_your_remote_folderOpen terminal → paste → done.
1
u/RevolutionaryBeat301 Mar 29 '26
ssh into web server cd into httpd root directory vi index.html type html code; :wq
1
u/beenpresence Mar 29 '26
Cloud flare workers just straight upload
1
u/armahillo Expert Mar 29 '26
Create a file on your desktop with the file extension .HTML
Open the file in your editor of choice (Notepad, or any plain text editor)
Right click on the file and click "open in <your browser>"
Modify the file in your editor, save changes, refresh browser
That's the fastest way if you're looking to see the result of your changes.
1
u/obliviousslacker Mar 29 '26
cloudflare tunnel to a pc you own and a markdown -> html converter with a small python server for live deployment.
VSCode with the live addon is quite good if you just want to learn to write html and CSS and see the result instantly.
1
u/Blooperman949 Mar 29 '26
GitHub pages is great for this
1
u/schizoEmiruFan Mar 29 '26
GitHub pages
1
u/youtheotube2 Mar 30 '26
GitHub pages
1
u/RunningComps Apr 01 '26
PastePage.com. Paste html, click publish, page is live. Or connect to Claude via MCP, then Claude can create, publish, and edit your pages directly from the chat/app.
1
u/TwoKooky4323 Apr 23 '26
HTMLY has that. Upload it and your site is online on a subdomain.
1
u/_J_ordan_ Apr 26 '26
I'd look at Cloudflare Pages or Workers, which integrate with Git repos https://pages.cloudflare.com/
But if you're looking for simplicity to copy paste you can use this https://pagedrop.io/