Commit Graph

62 Commits

Author SHA1 Message Date
Mohamed Bassem
480abce478 deps: Upgrade to nodejs 24 2025-12-13 07:37:33 +00:00
Mohamed Bassem
6cccb9f197 build: Improve docker caching (#2140)
* build: Improve docker caching

* more fixes
2025-11-16 12:09:14 +00:00
Mohamed Bassem
03aa17200e docker: Update chrome to 124 2025-08-04 03:36:19 +00:00
MohamedBassem
bd5d9b99dd fix: Fix the path to worker binary post-build 2025-07-27 21:46:09 +01:00
Mohamed Bassem
2cce45b7ed fix: Run workers in prod without tsx. Fixes #1673 2025-07-19 14:35:48 +00:00
TeoMatthew
4fe541c422 deps: bump s6-overlay version (#1750)
update s6-overlay to catch a fix for kubernetes readonly fs
2025-07-19 14:09:04 +01:00
Mael
c70d64d4cd feat(workers): migrate from puppeteer to playwright (#1296)
* feat: convert to playwright

Convert crawling to use Playwright instead of Chrome.

- Update Dockerfile to include Playwright
- Update crawler worker to use Playwright API
- Update dependencies

* feat: convert from Puppeteer to Playwright for crawling

* feat: update docker-compose

* use separate browser context for better isolation

* skip chrome download in linux script

* readd the stealth plugin

---------

Co-authored-by: Mohamed Bassem <me@mbassem.com>
2025-06-22 18:08:21 +01:00
Kyle Wilson
91a9d3c1ae docs: update meilisearch key generation instruction (#1651)
* add pipe for trimming invalid characters when generating meili master key

* fix table row for MEILI_MASTER_KEY in versioned_docs
2025-06-22 12:08:18 +01:00
Mohamed Bassem
169e14d35d feat: Drop corepack dep in prod and allow running as non-root. Fixes #606 2025-06-07 14:38:49 +00:00
Mohamed Bassem
d42c196729 fix(docker): Fix build only docker compose file 2025-04-27 23:49:20 +00:00
Mohamed Bassem
718db1c530 docker: Add a build only docker compose file 2025-04-27 23:26:58 +00:00
Mohamed Bassem
c239634dcc build: Provide a docker container for the MCP server 2025-04-26 14:31:00 +00:00
adripo
4296e7f4d8 chore: rename missing files/conf from Hoarder to Karakeep (#1280)
* refactor: Rename remaining project configuration from Hoarder to Karakeep

* some fixes

---------

Co-authored-by: Mohamed Bassem <me@mbassem.com>
2025-04-21 18:59:40 +01:00
MohamedBassem
755fc36e91 chore: Rename hoarder packages to karakeep 2025-04-12 19:37:40 +01:00
Mark :)
7f569042f1 chrore: Update meilisearch version to 13.3 in both docker compose files (#1244)
* feat: update meilisearch to v1.13.3 in compose.dev

* feat: update meilisearch in docker-compose.yml to 13.3

* update e2e_tests meilisearch to 1.13.3
2025-04-12 19:32:38 +01:00
MohamedBassem
4e6d31424f docs: Update installation docs with karakeep 2025-04-05 18:52:04 +01:00
Mohamed Bassem
abcb9f2643 build: Update image source label in the dockerfile 2025-04-05 17:27:26 +00:00
Ahmad Mujahid
e5cb9aa848 feat: Add PDF screenshot generation and display (#995)
* Updated pdf2json to 3.1.5

* Extract and store a screenshot from PDF files using pdf2pic

* Installing graphicsmagick and ghostscript

* Generate Missing PDF screenshot with tidyAssets worker for backward support

* Display PDF screenshot instead of the PDF in web if it exists.

* Display PDF screenshot in mobile app if exists.

* Updated pnpm-lock.yaml

* Removed console.log

* Revert the unnecessary changes in package.json

* Revert pnpm-lock changes

* Prevent rendering PDF files if the screenshot is not generated

* refactor: replace useEffect with useMemo for section initialization

* feat: show PDF file download button and handle large PDFs by defaulting to screenshot view

* feat: add file size to openapi spec

* feature: Add Assets preprocessing in fix mode to admin actions

* i18n: add reprocess_assets_fix_mode translation

* i18n: Add missing ar translations

* A bunch of fixes

* Fix openspec schema

---------

Co-authored-by: Mohamed Bassem <me@mbassem.com>
2025-02-17 09:25:16 +00:00
Gavin Mogan
0621cd920a fix: custom fetch wrapper for ollama inference. Fixes #656 (#1032)
* Add configurable fetch timeout for Ollama client

* Worker service needs access to the .env file

* repair typescript types

* Update customFetch.ts

* update the config docs

---------

Co-authored-by: sbarbett <shane@barbetta.me>
Co-authored-by: Mohamed Bassem <me@mbassem.com>
2025-02-16 17:10:52 +00:00
Mohamed Bassem
c032f5065e docker: Pin corepack version in the AIO image 2025-02-09 21:23:46 +00:00
Mohamed Bassem
bc1e496d29 docker: Add a warning about now changing the DATA_DIR env variable 2025-02-09 15:17:22 +00:00
Mohamed Bassem
ccd9159ba8 ci: Fix corepack issue in CI and docker build 2025-02-02 21:46:36 +00:00
Mohamed Bassem
c5298cf4b4 build: Bake a default NEXTAUTH_URL_INTERNAL in the docker image 2025-01-12 17:47:42 +00:00
Mohamed Bassem
ae78ef50b2 docker: Preinstall pnpm for the worker job to prevent downloading it on startup. #666 2024-11-18 23:33:36 +00:00
Marc
9f2c7be237 docker: Upgrade meilisearch to v1.11.1 (#629) 2024-11-10 15:42:34 +00:00
Mohamed Bassem
4c94b37200 fix: Fix type in the separate container env variable 2024-10-28 08:15:05 +00:00
kamtschatka
4a13c36da5 feature: Archive videos using yt-dlp. Fixes #215 (#525)
* 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-28 01:51:00 +00:00
Mohamed Bassem
db45aaf1f6 docker: Add a flag to detect apps running in legacy container setup 2024-10-26 20:01:03 +00:00
MohamedBassem
13903370d7 deps: Upgrade nodejs to v22 2024-10-12 19:28:56 +00:00
Marc
e2644ebc11 docker: Add HEALTHCHECK to Dockerfile (#508)
i added the healthcheck to the AIO and legacy web container. 

checked on my AIO instance:

```
{
   "Status":"healthy",
   "FailingStreak":0,
   "Log":[
      {
         "Start":"2024-10-07T21:23:19.83382568+02:00",
         "End":"2024-10-07T21:23:20.003640388+02:00",
         "ExitCode":0,
         "Output":"Connecting to 127.0.0.1:3000 (127.0.0.1:3000)\nremote file exists\n"
      }
   ]
}
```
2024-10-07 23:05:46 +01:00
Marc
904eb5a552 docker: add Source Label to Dockerfile (#509)
To get changelogs shown with Renovate a docker container has to add the source label described in the OCI Image Format Specification.

For reference: https://github.com/renovatebot/renovate/blob/main/lib/modules/datasource/docker/readme.md
2024-10-07 23:03:20 +01:00
CrypticC3s4r
3f22801a0d docker: Fix the docker-based development env (#456) 2024-10-05 17:37:56 +01:00
MohamedBassem
7cd857c772 build: Fix nextjs build after upgrading to 14.2 2024-09-21 12:45:40 +00:00
MohamedBassem
dbdbd49027 docker: Remove redis from the dev docker compose 2024-08-31 21:10:01 +00:00
MohamedBassem
c653ffea3e docker: Remove the redis and worker containers 2024-08-31 18:47:44 +00:00
MohamedBassem
c72dbd04e7 docker: Change all images to be built from the same AIO base 2024-07-28 00:06:50 +00:00
MohamedBassem
98fc5598a8 build: Add an all-in-one container 2024-07-21 21:28:53 +00:00
MohamedBassem
dedc5fb245 feature: Full page archival with monolith. Fixes #132 2024-05-26 10:11:53 +00:00
MohamedBassem
6839289049 docker: Update docker images to point to the new repo URLs 2024-05-19 20:18:51 +00:00
MohamedBassem
9b5ef3a70e fix(crawler): Add --disable-dev-shm-usage to chrome container 2024-05-12 14:45:13 +01:00
MohamedBassem
3352a3ea39 build(cli): Prepare for publishing CLI to npm 2024-04-24 12:21:55 +01:00
Rosin
cbdaf562d4 fix: Update docker-compose.yml (#119)
fix: solve invalid type of services.meilisearch.environment.MEILI_NO_ANALYTICS
2024-04-22 12:25:09 +01:00
Vivek
9b9cdcf51f docker: Disable meilisearch analytics (#117)
* Disable meilisearch analytics

* Move MEILI_NO_ANALYTICS to docker-compose.yml
2024-04-22 10:55:20 +01:00
MohamedBassem
4402e6f041 feature: Download images and screenshots 2024-04-20 00:05:31 +01:00
MohamedBassem
e0bb1fc17e fix(docker): Remove BUILDPLATFORM from Dockerfile 2024-04-06 13:22:27 +01:00
MohamedBassem
173ac3776e fix(cli): Don't download pnpm with every invocation 2024-04-02 18:11:27 +01:00
MohamedBassem
3d5055cc32 docker: Move build args to the end for better cache hits 2024-04-02 16:46:08 +01:00
MohamedBassem
c206aa254c feature: Include server version in the admin UI. Fixes #66 2024-04-02 16:42:53 +01:00
MohamedBassem
d4406729df featuer: Introduce a new CLI for mass manipulation of bookmarks 2024-04-02 15:12:40 +01:00
Luca
899842e476 Bump chrome container version to 123 to enable linux/arm64 support on it (#59)
* Bump chrome container version to 102 to enable linux/arm64 support

* Bump chrome container version to 123
2024-03-31 19:27:08 +01:00