https://github.com/markort147/bekind
BeKind, Rewind is a simple offline movie tracker web app built with HTMX and Go. It's a playground project for experimenting with these technologies, featuring a frontend UI with basic functionality to add, edit, and delete movies stored in-memory.
https://github.com/markort147/bekind
css go html htmx htmx-go
Last synced: 3 months ago
JSON representation
BeKind, Rewind is a simple offline movie tracker web app built with HTMX and Go. It's a playground project for experimenting with these technologies, featuring a frontend UI with basic functionality to add, edit, and delete movies stored in-memory.
- Host: GitHub
- URL: https://github.com/markort147/bekind
- Owner: markort147
- License: mit
- Created: 2025-02-04T10:57:18.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-31T16:54:26.000Z (about 1 year ago)
- Last Synced: 2026-01-03T16:19:13.206Z (6 months ago)
- Topics: css, go, html, htmx, htmx-go
- Language: Go
- Homepage:
- Size: 7.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BeKind, Rewind
BeKind, Rewind is a draft project for a simple web frontend UI of an offline Movie Tracker app I plan to build in the near future. This project serves as a playground for exploring [HTMX](https://htmx.org/) and Go.
Currently, the app has no backend, and movies are stored in-memory with non-persistent storage. The few movies displayed when you run the app are hardcoded. However, you can edit, delete, and add new movies to the list.
## Features
- View a hardcoded list of movies.
- Edit and delete movies.
- Add new movies to the list.
## Prerequisites
Before running the app, ensure that you have Go version 1.22 or higher installed on your system.
## Installation and running the app
### Install Go
First, install Go if you haven't already. You can download Go from the official website: https://golang.org/dl/.
#### Building from the source
##### Clone the Repository
Clone this repository to your local machine:
```bash
git clone https://github.com/markort147/bekind.git
```
##### Build the App
Navigate to the directory where you cloned the repo, then run the following command:
```bash
go build ./cmd/bekindrewind/ -o bekindrewind
```
##### Run the app
Run the app:
```bash
./bekindrewind -config
```
#### As a Go command
##### Install via Go
```bash
go install github.com/markort147/bekind/cmd/bekindrewind@latest
```
##### Run the app
Run the app:
```bash
~/go/bin/bekindrewind -config
```
### Access the Web App
Open your browser and go to http://localhost:[PORT] to view the app in action.
## Development with Air
For a smoother development experience, I recommend using Air, which provides live reloading. The repository includes a .air.toml configuration file for easy integration with [Air](https://github.com/air-verse/air).
To use Air:
1. Install Air by following the instructions on the official [Air GitHub page](https://github.com/air-verse/air).
2. Run the app with Air:
```bash
air .
```
This will automatically reload the application whenever changes are made to the code, enhancing your development workflow.