Commit graph

74 commits

Author SHA1 Message Date
84dfe05de8 feat: computer data uptime
also fix last commit
2025-07-20 21:38:37 +01:00
02740548de feat: show commit hash in index route
only works on coolify or if you specify the SOURCE_COMMIT environment
variable manually
2025-07-20 16:28:20 +01:00
af790e5765 feat: favicon 2025-07-20 16:25:05 +01:00
25842d4bdd refactor: remove dependabot 2025-07-20 15:32:01 +01:00
36b4a9529b chore: update packages 2025-07-20 15:31:56 +01:00
b45149d731 fix: websockets not working with prometheus middleware 2025-07-20 15:30:48 +01:00
f4e24d9440 chore: update packages 2025-06-30 15:23:58 +01:00
28dd79f7c2 feat: prometheus metrics 2025-06-30 15:22:28 +01:00
a2a99a8dcc feat: roblox likes route 2025-06-28 14:12:32 +01:00
fea1c9ced9 refactor: add data directory to gitignore
also fix allowed origins
2025-05-03 19:35:12 +01:00
d36662bd40 refactor: create data directory for storing data 2025-05-03 18:48:39 +01:00
3aecbd274f feat: add nekoweb to allowed origins 2025-05-03 18:43:28 +01:00
45816ac7a8 feat: split project name into owner and name 2025-05-03 16:39:14 +01:00
26ed84f50b fix: use int for stars in /projects route
i'm tired
2025-05-03 16:18:43 +01:00
a3eb6c6e32 feat: github projects route 2025-05-03 16:09:46 +01:00
a1f22391e9 fix: create file when data store file not found 2025-03-22 14:41:54 +00:00
8407a1258f feat: keys, clicks, and totals in computer statistics 2025-03-22 14:20:04 +00:00
19bdd27de1 feat: data store 2025-03-22 12:05:19 +00:00
4f8ee6cf9c fix: replace index redirection 2025-03-20 22:49:08 +00:00
4fb7905f9d Merge branch 'main' of https://github.com/trafficlunar/api 2025-03-20 22:42:35 +00:00
4aba53944a docs: update name and add features list 2025-03-20 22:41:35 +00:00
bf9edf0c6d refactor: rename website-backend to api 2025-03-20 22:37:07 +00:00
9875e7c18f refactor: move main.go to root directory 2025-03-20 22:35:58 +00:00
72fe3acb45 chore: update packages 2025-03-20 22:35:39 +00:00
3e96f78c4b refactor: change default port 2025-03-20 22:32:03 +00:00
7176c3e193 fix: warn on .env file not found 2025-03-20 22:31:54 +00:00
32aea2cbd5 refactor: rename visitor counter to hit counter 2025-03-20 22:31:39 +00:00
bb9e0b10ee
Merge pull request #4 from trafficlunar/dependabot/go_modules/github.com/go-chi/chi/v5-5.2.1
chore(deps): bump github.com/go-chi/chi/v5 from 5.2.0 to 5.2.1
2025-03-02 22:12:34 +00:00
dependabot[bot]
4d0c564d91
chore(deps): bump github.com/go-chi/chi/v5 from 5.2.0 to 5.2.1
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 03:10:36 +00:00
fc129516bb fix: commit d8006860 (multi-stage build in dockerfile) 2025-01-16 23:20:13 +00:00
d800686081 fix: multi-stage build in dockerfile 2025-01-16 23:02:01 +00:00
38b93391a1 refactor: change urls 2025-01-16 22:07:11 +00:00
c92e8670c9 refactor: remove uptime kuma integration 2025-01-16 22:07:11 +00:00
fa0f5119bd chore: update packages 2025-01-16 21:59:51 +00:00
87365c859c fix: broken last.fm url 2025-01-16 21:58:38 +00:00
c6367ae505 chore: update URLs 2025-01-16 21:58:23 +00:00
9a3b3dd13b docs: update README.md 2025-01-16 21:58:00 +00:00
trafficlunar
aaeedfa67c refactor: increase computer data limit from 50 to 60 (again) 2024-12-02 20:20:33 +00:00
trafficlunar
a864e689be fix: add development mode environment variable 2024-12-01 20:33:56 +00:00
trafficlunar
43628a1a66 feat: add timestamps to computer graph data 2024-11-30 00:01:01 +00:00
trafficlunar
e97b271bd7 fix: create worker to add data when computer is offline 2024-11-29 23:28:13 +00:00
trafficlunar
d918100c2e fix: increase computer data limit from 20 to 50 2024-11-29 23:18:07 +00:00
trafficlunar
3bc58cadbe fix: environment variable using wrong name 2024-11-29 22:59:24 +00:00
trafficlunar
628ed990f3 fix: initialize computer data variable 2024-11-29 22:59:07 +00:00
trafficlunar
51557d616e feat: add authorization to websocket 2024-11-29 19:45:14 +00:00
trafficlunar
e7e06cf646 fix: computer online not changing when websocket disconnected 2024-11-29 19:18:06 +00:00
trafficlunar
58adca9cd0 feat: add getting computer data route 2024-11-29 18:06:28 +00:00
trafficlunar
840e584082 refactor: spelling errors 2024-11-29 15:55:28 +00:00
trafficlunar
adbf378235 feat: add unmarshalling websocket messages 2024-11-29 15:48:59 +00:00
trafficlunar
47b757769a feat: add basic websocket 2024-11-27 21:01:09 +00:00