Code Monkey home page Code Monkey logo

Comments (10)

rxliuli avatar rxliuli commented on June 12, 2024

这是可能的,在 docker 中安装 joplin-cli 并配置同步,然后安装 joplin-blog,再跑个定时任务就 ok 了(主要是吾辈不确定 joplin 同步是否有任何通知或事件)

from joplin-utils.

ytianxia6 avatar ytianxia6 commented on June 12, 2024

也就是说,现在没有成熟的方案,必须自己来做是吧。

明白了。等有空的时候试试。

from joplin-utils.

rxliuli avatar rxliuli commented on June 12, 2024

也就是说,现在没有成熟的方案,必须自己来做是吧。

明白了。等有空的时候试试。

如果需要,你可以试试 /events 相关的 API,它可以拿到最近修改的最多 90 天的历史记录,或许可以用来对比是否有同步,不过吾辈没有真正尝试过。
https://joplinapp.org/api/references/rest_api/#events

from joplin-utils.

rxliuli avatar rxliuli commented on June 12, 2024

另外,建议使用 github 同步发布的项目,以便在多台计算机上使用,参考吾辈的博客:https://github.com/rxliuli/blog

from joplin-utils.

ytianxia6 avatar ytianxia6 commented on June 12, 2024

很奇怪,我使用npm install -g joplin 在docker中安装joplin,总是提示
npm ERR! [email protected]: Permission denied (publickey).

from joplin-utils.

rxliuli avatar rxliuli commented on June 12, 2024

很奇怪,我使用 npm install -g joplin 在 docker 中安装 joplin,总是提示 npm ERR! [email protected]: Permission denied (publickey).

吾辈没有这样尝试过,但也许你可以去 Google 看看,可能已经有人遇到过这种问题了。

另外,如果尝试这件事情有什么问题,请在论坛上询问,有更多人玩过 docker 和 npm joplin

from joplin-utils.

ytianxia6 avatar ytianxia6 commented on June 12, 2024

我在布署过程中,遇到一些问题,当我将 blog 标记改为 posts 时,日志里有些错误:
image

当我用blog时没有问题。我blog标记的日记只有一篇,posts 有31篇

from joplin-utils.

rxliuli avatar rxliuli commented on June 12, 2024

我在布署过程中,遇到一些问题,当我将 blog 标记改为 posts 时,日志里有些错误: image

当我用 blog 时没有问题。我 blog 标记的日记只有一篇,posts 有 31 篇

看起来只是一些日志打印

上面那些如果是错误的话指的是获取笔记的标签与资源时未能正确获取到,请检查是否包含这些附件资源

from joplin-utils.

ytianxia6 avatar ytianxia6 commented on June 12, 2024

也许不是错误,只是太慢了。。
我部署在一台 群晖nas上,最后成功的生成了。但这个过程,很慢。。

from joplin-utils.

ytianxia6 avatar ytianxia6 commented on June 12, 2024

目前来看,我已经成功实现这个过程。只考虑自用,已经成功部署在我的群晖上。多谢指点。
https://github.com/ytianxia6/joplin-auto-pub

from joplin-utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.