https://github.com/kevincobain2000/go-hexe
Static sites to executable binaries converter. Convert sites exported from Next.js, Gatsby, Hugo, Jekyll, Sveltekit to executable binaries.
https://github.com/kevincobain2000/go-hexe
executable golang html hugo javascript jekyll nextjs remix static-server static-site static-site-generator svelte sveltekit
Last synced: 11 months ago
JSON representation
Static sites to executable binaries converter. Convert sites exported from Next.js, Gatsby, Hugo, Jekyll, Sveltekit to executable binaries.
- Host: GitHub
- URL: https://github.com/kevincobain2000/go-hexe
- Owner: kevincobain2000
- Created: 2023-11-10T11:51:50.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T07:17:10.000Z (over 1 year ago)
- Last Synced: 2024-12-27T15:12:30.802Z (over 1 year ago)
- Topics: executable, golang, html, hugo, javascript, jekyll, nextjs, remix, static-server, static-site, static-site-generator, svelte, sveltekit
- Language: Go
- Homepage:
- Size: 31.3 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Static sites to executable binaries converter.
Portable binaries for any systems.
Convert sites exported from Next.js, Gatsby, Hugo, Jekyll, Sveltekit
to executable binary.
**Quick Setup:** Easy setup.
**Hassle Free:** Portable binaries to run anywhere on any system.
**Platform:** Supports (arm64, arch64, Mac, Mac M1, Ubuntu and Windows).
**Graceful Reloads:** Reloads server gracefully without dropping any connections.
**Supports:** Sites exported using Next.js, Gatsby, Hugo, Jekyll, Hexo, Sveltekit and etc.
**Supports:** HTML, CSS, JS, Images, Fonts, SVGs, JSON, XML, Markdown and etc.
**Supports:** Base Path, Custom Port.
## Requirements
Install `go` using https://github.com/kevincobain2000/gobrew
## Convert static site to executable binary
```sh
git clone https://github.com/kevincobain2000/go-hexe.git
# make sure you copy the folder to dist in current dir
cp -r ../path/to/your/website dist
go build main.go
./main
```
## Development
```sh
go run main.go
# or
air
```