首页   注册   登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
Coding
V2EX  ›  分享创造

[Self Hosted] [镜像只有 7 兆] 可以用 GraphQL 把玩的超小 Feed 同步服务器

  •  1
     
  •   leopku · 183 天前 · 1109 次点击
    这是一个创建于 183 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Micro Feed

    Micro-Feed, an extremely small size feed sync service with GraphQL support(also with a graphql playground). https://github.com/leopku/micro-feed

    Screenshot

    screenshot for micro-feed

    Features

    Micro Size

    Extremely small binary size and docker image size.

    Docker image size is only 7MB.

    Supported feed types

    • RSS 0.90
    • Netscape RSS 0.91
    • Userland RSS 0.91
    • RSS 0.92
    • RSS 0.93
    • RSS 0.94
    • RSS 1.0
    • RSS 2.0
    • Atom 0.3
    • Atom 1.0

    Docker

    Docker image location

    https://hub.docker.com/r/leopku/micro-feed-community

    Default

    • app root: /app
    • app config: /app/micro-feed.toml
    • database: /app/micro-feed.db. This can be changed by modifing /app/micro-feed.toml

    GraphQL

    Playground

    • http://localhost:9300

    Play with GraphQL

    Add a feed

    mutation {
      createFeed(title: "my new feed", description: "feed detail", subscription: "https://path/of/my/feed/rss.xml")
    }
    

    After adding feed and waiting for a while (default 15min), entries would be synced from feed.

    List Entries

    query {
      entries {
        id
        title
        link
      }
    }
    

    Get detail of an entry

    query {
      entry(id: 123) {
        id
        title
        link
      }
    }
    

    Mark an entry as read/unread

    mutation {
      markEntry(id: 123, mark: 1)
    }
    
    • 1 as read
    • 2 as unread

    Issue reporting & Suggestion

    Telegram group

    TODO

    Github Issue

    https://github.com/leopku/micro-feed/issues

    第 1 条附言  ·  183 天前
    3 回复  |  直到 2019-06-13 18:11:37 +08:00
        1
    azh7138m   183 天前
    视频好评 :doge:

    还以为自己网出问题了
        2
    leopku   183 天前
    @azh7138m 辣个是 graphql playground 的运行键([:smile:]
        3
    ZeroW   181 天前 via Android
    我还以为 v 站能插视频外链了
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2443 人在线   最高记录 5043   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.3 · 26ms · UTC 14:59 · PVG 22:59 · LAX 06:59 · JFK 09:59
    ♥ Do have faith in what you're doing.