https://github.com/jessekoldewijn/gox
A simple http2 server setup with golang + htmx
https://github.com/jessekoldewijn/gox
golang htmx http2-server
Last synced: 12 months ago
JSON representation
A simple http2 server setup with golang + htmx
- Host: GitHub
- URL: https://github.com/jessekoldewijn/gox
- Owner: JesseKoldewijn
- License: mit
- Created: 2024-02-05T22:05:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T15:52:48.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T05:07:28.988Z (about 1 year ago)
- Topics: golang, htmx, http2-server
- Language: Go
- Homepage:
- Size: 9.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Welcome to GoX 👋
> A simple GoLang based http server that serves htmx content.
## Install
```sh
go mod download
```
## Usage
`[port]` is the port you want to run the server on.
```sh
go run main.go -port [port]
```
# Docker
There also is a Dockerfile included in the project. You can build the image with the following command:
```sh
docker build -t gox .
```
You can run the image with the following command:
```sh
docker run -p [port]:[port] gox
```
or pull the image from the registry:
```sh
docker pull jessekoldewijn/gox:latest
```
## Author
👤 **Jesse Koldewijn**
- Website: https://jereko.dev
- Github: [@JesseKoldewijn](https://github.com/JesseKoldewijn)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/JesseKoldewijn/GoX/issues).
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2024 [Jesse Koldewijn](https://github.com/JesseKoldewijn).
This project is [MIT](https://github.com/JesseKoldewijn/GoX/blob/main/LICENCE) licensed.