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

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

  •  1
     
  •   leopku · 2019-06-11 15:20:56 +08:00 · 1982 次点击
    这是一个创建于 2021 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 条附言  ·  2019-06-11 15:58:32 +08:00
    3 条回复    2019-06-13 18:11:37 +08:00
    azh7138m
        1
    azh7138m  
       2019-06-11 15:56:13 +08:00
    视频好评 :doge:

    还以为自己网出问题了
    leopku
        2
    leopku  
    OP
       2019-06-11 16:00:53 +08:00
    @azh7138m 辣个是 graphql playground 的运行键([:smile:]
    ZeroW
        3
    ZeroW  
       2019-06-13 18:11:37 +08:00 via Android
    我还以为 v 站能插视频外链了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5506 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 03:42 · PVG 11:42 · LAX 19:42 · JFK 22:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.