⌂ Publish HTML quickly / 🐴 Develop a WriteFreely theme
HTMLhouse uses ACE editor for modifying HTML and shows a live preview of what you've created in an iframe alongside the source code.
No user signup is required -- authorization to modify an individual published page is saved on the creator's device in local storage as an ID and JWT generated by the server.
It is also available as an Android app.
- Go
- Node.js
- MySQL
- Clone the repo
- Run
go get -dto get necessary dependencies - Run
make installto install LESS compiler locally and generate the CSS files - Run the queries in
init.sqlto set up the database - Optional. Run
./keys.sh prodto create a new keypair
- Run
go run cmd/htmlhouse/main.goin the top level directory, optionally by creating a simple run script
#!/bin/bash
DB_USER=dbuser DB_PASSWORD=pass DB_DB=htmlhouse PRIVATE_KEY=keys/dev PUBLIC_KEY=keys/dev.pub go run main/main.go- Open your browser to http://localhost:8080
Changing CSS. Run make after all changes to update the stylesheets.
When you don't need to reload the app. When you make changes to any files in static/ you can simply refresh the resource without restarting the app.
When to reload the app. If you change any of the templates in templates/ or any .go file, you'll need to re-run the app.


