aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build before uploadAlex Pooley (@zuedev)2025-12-011-1/+2
|
* Merge pull request 'merged-worker' (#1) from merged-worker into mainzuedev2025-12-0168-2742/+3534
|\ | | | | | | Reviewed-on: https://forgejo.sovereign.zue.dev/zuedev/zue.dev/pulls/1
| * make it workAlex Pooley (@zuedev)2025-12-0163-2740/+3508
| |
| * add wrangler deploy workflowAlex Pooley (@zuedev)2025-11-302-0/+22
| |
| * rename avatarAlex Pooley (@zuedev)2025-11-301-0/+0
| |
| * add devcontainerAlex Pooley (@zuedev)2025-11-302-0/+6
| |
| * remove dev note in readmeAlex Pooley (@zuedev)2025-11-301-4/+0
|/
* Add .forgejo/workflows/.gitkeepzuedev2025-11-291-0/+0
|
* Upload files to ".forgejo"zuedev2025-11-161-0/+0
|
* merge api with rootAlex Pooley (@zuedev)2025-10-318-685/+613
|
* reorder linksAlex Pooley (@zuedev)2025-10-301-11/+11
|
* add bbg link to rootAlex Pooley (@zuedev)2025-10-301-0/+5
|
* restructure repo into a monorepoAlex Pooley (@zuedev)2025-10-3064-3/+5968
|
* update readmeAlex Pooley (@zuedev)2025-10-301-2/+4
|
* add random func to root routeAlex Pooley (@zuedev)2025-10-301-0/+1
|
* update development note in readmeAlex Pooley (@zuedev)2025-08-021-7/+4
|
* modify Response to set CORS headers to allow all methods and headersAlex Pooley (@zuedev)2025-07-041-8/+2
|
* modify Response to handle CORS defaultsAlex Pooley (@zuedev)2025-07-041-0/+16
|
* fix api key precedenceAlex Pooley (@zuedev)2025-07-041-3/+7
|
* fix wrangler issues with bindingAlex Pooley (@zuedev)2025-07-043-240/+289
|
* remove AI bindingAlex Pooley (@zuedev)2025-07-041-3/+0
|
* move routes configuration to the production environmentAlex Pooley (@zuedev)2025-07-041-6/+6
|
* update YouTube API parameter from 'channel' to 'channelHandle'Alex Pooley (@zuedev)2025-07-041-5/+5
|
* woah, an update! 🚀Alex Pooley (@zuedev)2025-07-044-303/+361
|
* fix streaming endpointAlex Pooley (@zuedev)2025-07-041-4/+43
|
* refactor: remove Twitch channel live check and update response handlingAlex Pooley (@zuedev)2025-07-041-44/+11
|
* fix errant browser rendering api endpointAlex Pooley (@zuedev)2025-07-041-78/+29
|
* remove ai image generation endpointAlex Pooley (@zuedev)2025-06-241-61/+0
|
* add ai image endpointAlex Pooley (@zuedev)2025-06-242-22/+119
|
* refactor: remove unnecessary break statement in fetch handlerAlex Pooley (@zuedev)2025-06-231-1/+0
|
* refactor: simplify request handling by removing Router class and using ↵Alex Pooley (@zuedev)2025-06-231-236/+216
| | | | switch-case structure
* refactor: update main entry point to main.js and remove index.jsAlex Pooley (@zuedev)2025-06-232-1/+1
|
* remove external filesAlex Pooley (@zuedev)2025-06-234-238/+112
|
* add /browser-rendering/screenshot urlAlex Pooley (@zuedev)2025-06-234-6/+1029
|
* add function to check if a Twitch channel is liveAlex Pooley (@zuedev)2025-06-231-20/+20
|
* feat(router): add scheduled event handler for triggering tasksAlex2025-03-231-0/+14
|
* feat(router): add email event handler to forward messages to a specified addressAlex2025-03-231-0/+14
|
* refactor(router): move Router class documentation from index.md to README.mdAlex2025-03-231-0/+0
|
* refactor(router): reorganize Router class into separate index file and ↵Alex2025-03-233-1/+128
| | | | remove legacy router.js
* refactor(router): remove unused test route handlerAlex2025-03-231-8/+0
|
* feat(router): Add support for dynamic route parametersAlex2025-03-232-4/+30
| | | | | | | | | - Enhanced the `add` method to handle parameterized routes (e.g., `/test/:name`) by converting `:param` into regex groups. - Updated the `route` method to extract and store route parameters in the `parameters` property. - Added logic to match parameterized routes and pass extracted parameters to handlers. - Included a fallback for 404 responses when no route matches. This update allows handlers to access dynamic route parameters via `router.parameters`.
* feat(router): improve Router class with enhanced error handling and path ↵Alex2025-03-231-20/+30
| | | | | | | | | normalization - Added error handling for unexpected exceptions in the `route` method, returning a 500 response with a descriptive error message. - Normalized paths in the `route` method to ensure consistent matching by removing trailing slashes. - Improved the 404 response to include the unmatched path for better debugging. - Enhanced code comments for clarity and maintainability.
* Refactor `route` function for improved performance and error handlingAlex2025-03-231-7/+19
| | | | | | | | - Normalized URL path by removing trailing slashes for consistent matching. - Added proper 404 response when a route is not found, including the requested path in the error message. - Enhanced error handling to return a 500 Internal Server Error for unexpected exceptions. - Prepared for potential optimization by suggesting the use of a `Map` for faster route lookups. - Improved code readability and maintainability.
* refactor: implement Router class for improved request handlingAlex2025-03-232-79/+129
|
* docs: add JSDoc comment for fetch event handlerAlex2025-03-231-0/+10
|
* docs: add JSDoc comment for Respond helper functionAlex Pooley2025-03-221-0/+6
|
* add `96/twitch/streaming` endpointAlex Pooley2025-03-212-0/+50
|
* better response handling + corsAlex Pooley2025-03-201-4/+13
|
* move back to vanillaAlex Pooley2025-03-206-214/+677
|
* feat: enhance middleware by adding pretty JSON responses and request IDAlex Pooley2025-03-191-1/+9
|