aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: handle list with slashes in their names and truncate long list names. ↵Mohamed Bassem2025-08-301-4/+4
| | | | fixes #1597
* fix: renamed export filename to karakeep (#1829)David Pearson2025-08-201-1/+1
|
* refactor: Move the health endpoint to hono as wellMohamed Bassem2025-07-041-8/+0
|
* refactor: Move the trpc endpoint to honoMohamed Bassem2025-07-041-22/+0
|
* refactor: Migrate from NextJs's API routes to Hono based routes for the API ↵Mohamed Bassem2025-05-1827-1142/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1432) * Setup Hono and migrate the highlights API there * Implement the tags and lists endpoint * Implement the bookmarks and users endpoints * Add the trpc error code adapter * Remove the old nextjs handlers * fix api key not found handling * Fix trpc error handling * Fix 204 handling * Fix search ordering * Implement the singlefile endpoint * Implement the asset serving endpoints * Implement webauth * Add hono as a catch all route under api * fix tests
* feat(api): enable ?sortOrder= for relevant resources (#1398)xuatz2025-05-186-7/+28
| | | | | * feat(api): enable `?sortOrder=` for relevant resources * fix tests
* feat: Add NETSCAPE-Bookmark-file-1 export format support (#1374)Yuiki Saito2025-05-111-15/+41
| | | | | | | | | | | | | * Add function to export bookmarks in NETSCAPE-Bookmark-file-1 format * Update export endpoint to support NETSCAPE format * Add format selection to export UI * include tags in the export --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* chore: rename missing files/conf from Hoarder to Karakeep (#1280)adripo2025-04-211-1/+1
| | | | | | | | | * refactor: Rename remaining project configuration from Hoarder to Karakeep * some fixes --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix: Add includeContent to search endpoint and document it in the docsMohamed Bassem2025-04-161-12/+16
|
* fix: Dont download html content by default in the bookmark grid. Fixes #1198Mohamed Bassem2025-04-136-3/+17
|
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-1216-26/+26
|
* fix: Dont buffer uploaded files in memory. Fixes #1173Mohamed Bassem2025-03-291-37/+59
|
* feat: Add endpoints for whoami and user stats. Fixes #1113Mohamed Bassem2025-03-112-0/+28
|
* feat: Expose bookmark summarization in the API (#1088)erik-nilcoast2025-03-091-0/+19
| | | Proxy to the TRPC Summarize mutation for use in the public API
* feat: Add a setting page to manage assets. Fixes #730Mohamed Bassem2025-02-232-3/+3
|
* feat: Add support for singlefile extension uploads. #172Mohamed Bassem2025-01-112-25/+104
|
* refactor: Implement file streaming for asset route. Fixes #818Mohamed Bassem (aider)2025-01-051-23/+52
|
* feat: Expose the search functionality in the REST APIMohamed Bassem2025-01-051-0/+39
|
* feat: Expose asset manipulation endpoints in the REST APIMohamed Bassem2025-01-042-0/+73
|
* feat: Add support for smart lists (#802)Mohamed Bassem2025-01-021-3/+3
| | | | | | | | | | | | | | | | | | | * feat: Add support for smart lists * i18n * Fix update list endpoint * Add a test for smart lists * Add header to the query explainer * Hide remove from lists in the smart context list * Add proper validation to list form --------- Co-authored-by: Deepak Kapoor <41769111+orthdron@users.noreply.github.com>
* fix(api): Return 201 from highlights creation and fix docs for PATCH ↵Mohamed Bassem2024-12-301-1/+1
| | | | /lists/[listId]
* feat: Add REST APIs for manipulating highlights. Fixes #620Mohamed Bassem2024-12-274-4/+100
|
* feature: Archive videos using yt-dlp. Fixes #215 (#525)kamtschatka2024-10-281-6/+26
| | | | | | | | | | | | | | | | | | | | | * Allow downloading more content from a webpage and index it #215 Added a worker that allows downloading videos depending on the environment variables refactored the code a bit added new video asset updated documentation * Some tweaks * Drop the dependency on the yt-dlp wrapper * Update openapi specs * Dont log an error when the url is not supported * Better handle supported websites that dont download anything --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* feature(api): Add REST APIs to update bookmarks, tags and listsMohamed Bassem2024-10-203-0/+54
|
* feature(api): Add REST APIs to manipulate lists and tags for bookmarksMohamed Bassem2024-10-207-34/+151
|
* feature: Add APIs to create new lists and bookmarksMohamed Bassem2024-10-202-0/+24
|
* fix: Better handling for body JSON parsing errorsMohamed Bassem2024-10-201-1/+22
|
* feature: Add DELETE REST APIs for bookmarks, lists and tagsMohamed Bassem2024-10-204-2/+48
|
* feature: Add GET REST APIs for bookmarks, lists and tagsMohamed Bassem2024-10-205-0/+112
|
* featue: Add infra for REST APIs and implement GET /bookmarksMohamed Bassem2024-10-204-0/+212
|
* feature: Allow importing hoarder's own bookmark file. Fixes #527MohamedBassem2024-10-131-42/+13
|
* refactor: Start tracking bookmark assets in the assets tableMohamedBassem2024-10-062-1/+27
|
* fix(web): Change export format to have content as a top level keyMohamedBassem2024-10-051-8/+11
|
* feature(web): Allow users to export their links and notesMohamedBassem2024-10-051-0/+66
|
* feature(web): Add healthecheck api endpoint (#332)Marc2024-09-211-0/+8
| | | | | | | | | | | * add healthecheck api endpoint * Remove meili healthcheck * Replace unnecessary variable with static content --------- Co-authored-by: Wuast94 <wuast94@wuast24.de>
* feature: Full page archival with monolith. Fixes #132MohamedBassem2024-05-261-2/+2
|
* fix: Ensure that downloaded asset images are from the allowed content typesMohamedBassem2024-04-201-8/+5
|
* feature: Download images and screenshotsMohamedBassem2024-04-201-2/+2
|
* refactor: Move the shared types to the shared packageMohamedBassem2024-04-181-1/+1
|
* feature: Add PDF support (#88)Ahmad Mujahid2024-04-111-2/+5
| | | | | | | | | | | | | | | | | | | * feature: Add PDF support * fix: PDF feature enhancements * fix: Freeze expo-share-intent version to prevent breaking changes * fix: set endOfLine to auto for cross-platform development * fix: Upgrading eslint/parser and eslint-plugin to 7.6.0 to solve the linting issues * fix: enhancing PDF feature * fix: Allowing null in fiename for backward compatibility * fix: update pnpm file with pnpm 9.0.0-alpha-8 * fix:(web): PDF Preview for web
* feature: Change maximum asset size to be configurable. Fixes #33MohamedBassem2024-03-271-1/+1
|
* fix: Allow uploading webp images. Fixes #35MohamedBassem2024-03-271-1/+5
|
* fix: Reject asset uploads in demo modeMohamedBassem2024-03-261-0/+8
|
* refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2024-03-192-23/+17
|
* Feature: Add support for uploading images and automatically inferring their ↵Mohamed Bassem2024-03-193-17/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tags (#2) * feature: Experimental support for asset uploads * feature(web): Add new bookmark type asset * feature: Add support for automatically tagging images * fix: Add support for image assets in preview page * use next Image for fetching the images * Fix auth and error codes in the route handlers * Add support for image uploads on mobile * Fix typing of upload requests * Remove the ugly dragging box * Bump mobile version to 1.3 * Change the editor card placeholder to mention uploading images * Fix a typo * Change ios icon for photo library * Silence typescript error
* lint: Lint and format the entire repo with the new configsMohamedBassem2024-03-141-4/+5
|
* structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem2024-03-142-0/+39