How to use "inbox" feature?

This post was last updated for 441 days ago, and the information may already be changed

As a lifetime user, how do I use the Inbox feature? The instructions in the user guide are very superficial. It only talks about API, where to find it, but it doesn't show how to use it. Thank you.

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • Basti 1
      VIP Warrior

      Sending to the SiYuan-Inbox is quiet easy from a small script. I have an example for ruby here...

      You need to change "token xxx"

      require 'net/http'
      require 'json'
      
      uri = URI('https://liuyun.io/apis/siyuan/inbox/addCloudShorthand')
      req = Net::HTTP::Post.new(uri)
      req.body = JSON.dump({
        title: Time.now.strftime('%Y-%m-%d'),
        content: 'Hello from Ruby'
      })
      req['Content-Type'] = 'application/json'
      req['Authorization'] = 'token xxx'
      
      res = Net::HTTP.start(uri.hostname, uri.port, :use_ssl => true) do |http|
        http.request(req)
      end
      
      case res
      when Net::HTTPSuccess, Net::HTTPRedirection
        puts 'DONE'
      else
        puts 'FAILED'
        puts res.value
      end
      
    • MiscReply
    • ACai

      In my opinion, the inbox API is used to forward some content when SiYuan is not enabled, and it can be seen when opened SiYuan in next time.

      For users who always opened SiYuan, you can just use the local API.😳

    • WanChen 1 Up

      @participants

      I noticed that a new “Telegram Inbox” plugin has been added to the marketplace, anyone interested can give it a try.

      image.png

    • zxhd86

      In China, an example has been developed to connect to WeChat, which allows you to send messages to SiYuan in the form of conversations.

      I think Telegram and WhatsApp should be able to do something similar, but there is no doing yet.

    • Visit all replies