aboutsummaryrefslogtreecommitdiff
path: root/cmd/hdrwtch/docs/code.md
blob: 5ce915f1b406c8c1f7ff984a0c1274fa902fa132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
title: "Source code"
date: 2024-08-21
updated: 2024-08-21
slug: "/code"
---

The source code for hdrwtch is available on [GitHub](https://github.com/Xe/x/tree/master/cmd/hdrwtch). Feel free to open an issue or a pull request if you have any questions or suggestions.

The code is written in Go and uses the following libraries/tools:

- [Templ](https://templ.guide) for templating
- [telego](https://pkg.go.dev/github.com/mymmrac/telego) for Telegram integration
- [Gorm](https://gorm.io) for database access
- [gormlite](https://pkg.go.dev/github.com/ncruces/go-sqlite3/gormlite) for SQLite3 support (via WebAssembly and [Wazero](https://wazero.io/))
- [HTMX](https://htmx.org) for client-side interactivity
- [Tailwind CSS](https://tailwindcss.com) for styling
- [Tabler icons](https://tablericons.com) for icons

![Created with HTMX](/static/img/createdwithhtmx.jpeg)