aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/api (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-08-30fix: handle list with slashes in their names and truncate long list names. ↵Mohamed Bassem1-4/+4
fixes #1597
2025-08-20fix: renamed export filename to karakeep (#1829)David Pearson1-1/+1
2025-07-04refactor: Move the health endpoint to hono as wellMohamed Bassem1-8/+0
2025-07-04refactor: Move the trpc endpoint to honoMohamed Bassem1-22/+0
2025-05-18refactor: Migrate from NextJs's API routes to Hono based routes for the API ↵Mohamed Bassem27-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
2025-05-18feat(api): enable ?sortOrder= for relevant resources (#1398)xuatz6-7/+28
* feat(api): enable `?sortOrder=` for relevant resources * fix tests
2025-05-11feat: Add NETSCAPE-Bookmark-file-1 export format support (#1374)Yuiki Saito1-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>
2025-04-21chore: rename missing files/conf from Hoarder to Karakeep (#1280)adripo1-1/+1
* refactor: Rename remaining project configuration from Hoarder to Karakeep * some fixes --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
2025-04-16fix: Add includeContent to search endpoint and document it in the docsMohamed Bassem1-12/+16
2025-04-13fix: Dont download html content by default in the bookmark grid. Fixes #1198Mohamed Bassem6-3/+17
2025-04-12chore: Rename hoarder packages to karakeepMohamedBassem16-26/+26
2025-03-29fix: Dont buffer uploaded files in memory. Fixes #1173Mohamed Bassem1-37/+59
2025-03-11feat: Add endpoints for whoami and user stats. Fixes #1113Mohamed Bassem2-0/+28
2025-03-09feat: Expose bookmark summarization in the API (#1088)erik-nilcoast1-0/+19
Proxy to the TRPC Summarize mutation for use in the public API
2025-02-23feat: Add a setting page to manage assets. Fixes #730Mohamed Bassem2-3/+3
2025-01-11feat: Add support for singlefile extension uploads. #172Mohamed Bassem2-25/+104
2025-01-05refactor: Implement file streaming for asset route. Fixes #818Mohamed Bassem (aider)1-22/+51
2025-01-05feat: Expose the search functionality in the REST APIMohamed Bassem1-0/+39
2025-01-04feat: Expose asset manipulation endpoints in the REST APIMohamed Bassem2-0/+73
2025-01-02feat: Add support for smart lists (#802)Mohamed Bassem1-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>
2024-12-30fix(api): Return 201 from highlights creation and fix docs for PATCH ↵Mohamed Bassem1-1/+1
/lists/[listId]
2024-12-27feat: Add REST APIs for manipulating highlights. Fixes #620Mohamed Bassem4-4/+100
2024-10-28feature: Archive videos using yt-dlp. Fixes #215 (#525)kamtschatka1-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>
2024-10-20feature(api): Add REST APIs to update bookmarks, tags and listsMohamed Bassem3-0/+54
2024-10-20feature(api): Add REST APIs to manipulate lists and tags for bookmarksMohamed Bassem7-34/+151
2024-10-20feature: Add APIs to create new lists and bookmarksMohamed Bassem2-0/+24
2024-10-20fix: Better handling for body JSON parsing errorsMohamed Bassem1-1/+22
2024-10-20feature: Add DELETE REST APIs for bookmarks, lists and tagsMohamed Bassem4-2/+48
2024-10-20feature: Add GET REST APIs for bookmarks, lists and tagsMohamed Bassem5-0/+112
2024-10-20featue: Add infra for REST APIs and implement GET /bookmarksMohamed Bassem4-0/+212
2024-10-13feature: Allow importing hoarder's own bookmark file. Fixes #527MohamedBassem1-42/+13
2024-10-06refactor: Start tracking bookmark assets in the assets tableMohamedBassem2-1/+27
2024-10-05fix(web): Change export format to have content as a top level keyMohamedBassem1-8/+11
2024-10-05feature(web): Allow users to export their links and notesMohamedBassem1-0/+66
2024-09-21feature(web): Add healthecheck api endpoint (#332)Marc1-0/+8
* add healthecheck api endpoint * Remove meili healthcheck * Replace unnecessary variable with static content --------- Co-authored-by: Wuast94 <wuast94@wuast24.de>
2024-05-26feature: Full page archival with monolith. Fixes #132MohamedBassem1-2/+2
2024-04-20fix: Ensure that downloaded asset images are from the allowed content typesMohamedBassem1-8/+5
2024-04-20feature: Download images and screenshotsMohamedBassem1-2/+2
2024-04-18refactor: Move the shared types to the shared packageMohamedBassem1-1/+1
2024-04-11feature: Add PDF support (#88)Ahmad Mujahid1-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
2024-03-27feature: Change maximum asset size to be configurable. Fixes #33MohamedBassem1-1/+1
2024-03-27fix: Allow uploading webp images. Fixes #35MohamedBassem1-1/+5
2024-03-26fix: Reject asset uploads in demo modeMohamedBassem1-0/+8
2024-03-19refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2-23/+17
2024-03-19Feature: Add support for uploading images and automatically inferring their ↵Mohamed Bassem3-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
2024-03-14lint: Lint and format the entire repo with the new configsMohamedBassem1-4/+5
2024-03-14structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem2-0/+39