Commit graph

19 commits

Author SHA1 Message Date
f8116c5777
ci: Build for more platforms 2025-03-20 09:03:06 +01:00
ea66bb4285
ci: Change branch to main 2025-03-20 08:57:59 +01:00
327af5ae2e
ci: Remove url prefix as code.forgejo.org is default anyway 2025-03-20 08:41:43 +01:00
da9a0bca3d
feat: Add actions workflow using Docker bake file 2025-03-20 08:38:19 +01:00
15bf56a1e7
feat(web): Support redirecting to custom url for index page 2025-03-20 08:38:17 +01:00
d27348ca0b
fix: Unescape tweet text for webhook 2025-03-20 08:38:16 +01:00
8c400ac564
Merge pull request from Spaenny/discord-tweeter:nix-flake
Reviewed-on: 
2025-03-20 01:15:28 +01:00
ddaf33b4f8
feat(nix-flake): add nix flake and nix module 2025-03-20 00:44:55 +01:00
8ff9e56182
fix(web): Minor typo of struct and add @ in front of username 2025-03-19 20:36:24 +01:00
56225d85e8
add missing webhook entry to config.example.toml 2025-03-19 18:26:33 +01:00
21d580d1a6
feat: Major refactor, implement web, caching, better tests and build files
* Update golang version to 1.24
* Update multiarch Dockerfile to be more ISA agnostic
* Refactor existing code and properly structure project into modules
* Get rid of global variables except where necessary (go:embed)
* Add default values to Config
* Add webserver with templates to finally correctly serve videos and gifs
* Add tiny caching library to decrease api load and improve latency
* Improve Webhook data preparation by filtering out redundant links
  from the tweet text and properly attaching videos and gifs in separate
  webhook request by utilising new webserver
* Improve tests for filter function
* Improve bake definition for easier CI integration
2025-03-18 19:22:00 +01:00
7562b86894
fix: Potential nil pointer dereference 2024-04-27 22:20:03 +02:00
8f13f765a1
chore: Update dependencies, Update golang version 2024-04-27 22:19:41 +02:00
e6bf12fa35
feat: Add embeds, rework embed struct 2023-10-17 00:10:00 +02:00
712d83c0f0
fix: Fix database query
Fix ordering in database query if more than one tweet with same timestamp
2023-10-17 00:07:00 +02:00
711f2d2e7b
fix: Open account login flow rework 2023-10-17 00:05:00 +02:00
2fd8f5d20b
chore: Add dockerignore, Update editorconfig, Update dependencies
* Add dockerignore and update editorconfig for Dockerfile
* Abort docker build if arch is not supported
2023-10-17 00:00:00 +02:00
e35576fb3f
chore: Remove debugging code and comments 2023-08-29 18:30:00 +02:00
eca46fcadd
Initial commit 2023-08-29 18:00:00 +02:00