aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/config.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* feat: Change default max upload size to 50MB up from 4MBMohamed Bassem2025-02-021-1/+1
|
* feat: Change webhooks to be configurable by usersMohamed Bassem2025-01-191-8/+0
|
* feat(webhook): Implement webhook functionality for bookmark events (#852)玄猫2025-01-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | * feat(webhook): Implement webhook functionality for bookmark events - Added WebhookWorker to handle webhook requests. - Integrated webhook triggering in crawlerWorker after video processing. - Updated main worker initialization to include WebhookWorker. - Enhanced configuration to support webhook URLs, token, and timeout. - Documented webhook configuration options in the documentation. - Introduced zWebhookRequestSchema for validating webhook requests. * feat(webhook): Update webhook handling and configuration - Changed webhook operation type from "create" to "crawled" in crawlerWorker and documentation. - Enhanced webhook retry logic in WebhookWorker to support multiple attempts. - Updated Docker configuration to include new webhook environment variables. - Improved validation for webhook configuration in shared config. - Adjusted zWebhookRequestSchema to reflect the new operation type. - Updated documentation to clarify webhook configuration options and usage. * minor modifications --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* feat: Add support for embeddings in the inference interface (#403)Mohammed Farghal2024-12-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support embeddings generation in inference.ts (cherry picked from commit 9ae8773ad13ed87af8f72f167bdd56e02ea66f15) * make AI worker generate embeddings for text bookmark * make AI worker generate embeddings for text bookmark * fix unintentional change -- inference image model * support embeddings for PDF bookmarks * Upgrade drizzle-kit Existing version is not working with the upgraded version of drizzle-orm. I removed the "driver" to the match the new schema of the Config. Quoting from their Config: * `driver` - optional param that is responsible for explicitly providing a driver to use when accessing a database * *Possible values*: `aws-data-api`, `d1-http`, `expo`, `turso`, `pglite` * If you don't use AWS Data API, D1, Turso or Expo - ypu don't need this driver. You can check a driver strategy choice here: https://orm. * fix formatting and lint * add comments about truncate content * Revert "Upgrade drizzle-kit" This reverts commit 08a02c8df4ea403de65986ed1265940c6c994a20. * revert keep alive field in Ollama * change the interface to accept multiple inputs * docs --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* fix(workers): Don't block connection to chrome when failing to download ↵Mohamed Bassem2024-11-211-0/+2
| | | | adblock list. #674
* fix: Fix type in the separate container env variableMohamed Bassem2024-10-281-2/+2
|
* feature: Archive videos using yt-dlp. Fixes #215 (#525)kamtschatka2024-10-281-0/+6
| | | | | | | | | | | | | | | | | | | | | * 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>
* docker: Add a flag to detect apps running in legacy container setupMohamed Bassem2024-10-261-0/+4
|
* feature: Add OCR support for images. Fixes #296Mohamed Bassem2024-10-201-0/+11
|
* feature: Allow customizing the inference's context lengthMohamedBassem2024-10-121-0/+2
|
* feature: Allow to disable default password login after SSO is configured. ↵kamtschatka2024-10-121-3/+3
| | | | | | | | | | Fixes #406 (#502) * [Feature Request] Allow to disable default password log in after SSO is configured #406 changed the flag to also disallow logging in via password The extensions will also no longer be allowed to log in via username/password then * [Feature Request] Allow to disable default password log in after SSO is configured #406 added the error message for OAuth
* feature: Allow disabling password signups (#413)kamtschatka2024-10-061-0/+3
| | | | | | | | | | * [Feature Request] Allow to disable default password log in after SSO is configured #406 Added the DISABLE_LOCAL_SIGNUPS that can be used to force OAuth signups only * rename local signups to password signups --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* feature(web): Add the ability to customize the inference prompts. Fixes #170MohamedBassem2024-09-291-0/+3
|
* feature: Added support for custom OIDC providers to set up authentication. ↵kamtschatka2024-09-151-0/+15
| | | | | | | | | | | | | | | | | | | | | | | Fixes #92 (#307) * https://github.com/hoarder-app/hoarder/issues/92 Added support for custom OIDC providers to set up authentication * Added support for custom OIDC providers to set up authentication #92 Showing OAuth errors in the signin page * Added support for custom OIDC providers to set up authentication #92 Added the possibility to log in using an API key in case OAuth is used * Added support for custom OIDC providers to set up authentication #92 improved the code to also promote the first user to admin if OAuth is used * revert extension changes * Simplify admin checks --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* feature(worker): Allow configuring inference job timeout and ollama keep ↵MohamedBassem2024-09-151-0/+4
| | | | alive. Fixes #389 #224
* feat: Upgrade default openai models to gpt-4o-mini which are 3x cheaperMohamedBassem2024-07-271-2/+2
|
* refactor: Replace the usage of bullMQ with the hoarder sqlite-based queue (#309)Mohamed Bassem2024-07-211-10/+0
|
* feature: Full page archival with monolith. Fixes #132MohamedBassem2024-05-261-0/+2
|
* feature(inference): Upgrade the default vision model to the new ↵MohamedBassem2024-05-161-1/+1
| | | | gpt-4o-2024-05-13 which is faster and 2x cheaper
* feature(crawler): Allow connecting to browser's websocket address and ↵MohamedBassem2024-05-151-0/+4
| | | | launching the browser on demand. This enables support for browserless
* feature(worker): Allow configuring redis with a passwordMohamedBassem2024-05-151-0/+2
|
* feature: Take full page screenshots #143 (#148)kamtschatka2024-05-121-0/+2
| | | | | | Added the fullPage flag to take full screen screenshots updated the UI accordingly to properly show the screenshots instead of scaling it down Co-authored-by: kamtschatka <simon.schatka@gmx.at>
* fix: Allow zod to coerce the crawler timeout from strings. Fixes #134MohamedBassem2024-05-031-2/+2
|
* feature(crawler): Allow increasing crawler concurrency and configure storing ↵MohamedBassem2024-04-261-0/+6
| | | | images and screenshots
* fix: Increase default navigation timeout to 30s, make it configurable and ↵MohamedBassem2024-04-111-0/+2
| | | | add retries to crawling jobs
* feature(inference): Upgrade the default vision model to the new gpt-4-turboMohamedBassem2024-04-091-1/+1
|
* fix(workers): Increase default timeout to 60s, make it configurable and ↵MohamedBassem2024-04-061-0/+2
| | | | improve logging
* feature: Include server version in the admin UI. Fixes #66MohamedBassem2024-04-021-0/+7
|
* feat(workers): Allow configuring the language in which the tags are ↵MohamedBassem2024-04-021-0/+2
| | | | generated. Fixes #68
* chore(workers): Remove unused configuration optionsMohamedBassem2024-03-311-4/+0
|
* feature: Change maximum asset size to be configurable. Fixes #33MohamedBassem2024-03-271-0/+2
|
* feature: Allow specifying a specific redis db to use. Fixes #13MohamedBassem2024-03-271-0/+2
|
* feature: Add support for local models using ollamaMohamedBassem2024-03-271-0/+2
|
* refactor: Validate env variables using zodMohamedBassem2024-03-271-32/+71
|
* fix: Allow setting demo mode creds when demo mode is enabledMohamedBassem2024-03-261-1/+4
|
* docker: Use external chrome docker containerMohamedBassem2024-03-241-0/+1
|
* feature: Add an option to disable new signupsMohamedBassem2024-03-221-15/+5
|
* feature(web): Add support for demo modeMohamedBassem2024-03-191-0/+5
|
* refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2024-03-191-6/+7
|
* feature: Add full text search supportMohamedBassem2024-03-011-0/+6
|
* feature: Basic support for demo modeMohamedBassem2024-02-201-0/+1
|
* build: Fix docker imagesMohamedBassem2024-02-171-0/+2
|
* fix: Let the crawler wait a bit more for page loadMohamedBassem2024-02-171-0/+3
|
* chore: Consolidate all config vars in one fileMohamedBassem2024-02-141-0/+30