支持直接导入Omnivore
fix
我已在Omnivore读完了所有待读列表,并归档。
但import到readeck后,还是有部分书签被认为是未读。
去数据库里update下记录:
sqlite3 data/readeck/data/db.sqlite3
UPDATE bookmark
SET is_archived = 1
WHERE is_archived = 0;
问题
1. 无直接设置proxy访问外网的选项
因为我部署在家里小主机上,readeck没上proxy的话,拉不了twitter substack之类的外网剪藏.
解决方案:可以部署到境外服务器。
2.没有logseq插件!
官方提供了API,因为我个人使用logseq做笔记,没有之前Omnivore那种同步到logseq的插件,略显不便(等哪位佬开发下插件)
附
附docker-compose,官方基础上只改了下HOSTS 和 volume
个人使用,就不上pg了,直接用sqlite
services:
app:
image: codeberg.org/readeck/readeck:latest
container_name: readeck
ports:
- 8000:8000
environment:
# Defines the application log level. Can be error, warning, info, debug.
- READECK_LOG_LEVEL=info
# The IP address on which Readeck listens.
- READECK_SERVER_HOST=0.0.0.0
# The TCP port on which Readeck listens. Update container port above to match (right of colon).
- READECK_SERVER_PORT=8000
# The URL prefix of Readeck.
- READECK_SERVER_PREFIX=/
# A list of hostnames allowed in HTTP requests. Required for reverse proxy configuration.
# 一个境内备案域名访问,一个CF托管域名
- READECK_ALLOWED_HOSTS=read.example.com,read.cn.example.com
# Use the 'X-Forwarded-' headers. Required for reverse proxy configuration.
- READECK_USE_X_FORWARDED=true
volumes:
- ./data/readeck:/readeck
restart: unless-stopped
healthcheck:
test:
["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"]
interval: 30s
timeout: 2s
retries: 3