Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【开源自荐】Denoflow - 简单、强大、无服务器的自动化工作流工具,基于yaml配置文件和Deno, 配置即代码 #2176

Open
theowenyoung opened this issue Jan 24, 2022 · 0 comments

Comments

@theowenyoung
Copy link

theowenyoung commented Jan 24, 2022

Denoflow是一个简单、强大、无服务器的配置即代码工具,可以使用简单的yaml来配置一个强大的工作流,运行在Deno上,你可以使用任何Deno模块、Typescript/Javascript代码,Denoflow会按照你的要求执行你的工作流。

项目地址: https://github.com/denoflow/denoflow
在线体验:通过Online Playground在线尝试和探索 Denoflow

简体中文文档: https://github.com/denoflow/denoflow/blob/main/README-ZH.md

能做什么:

  • 比如做一个Github Webhook来在服务器同步部署最新代码
  • 比如监听RSS的更新,发送到Telegram或者Discord等
  • 以及其他一切可以通过API互相调用的流程

再比如我使用Denoflow,在三小时内搭建了三个Hacker News的中文网站,通过API获取Hacker News文章的更新,通过翻译API翻译标题,然后生成网站:

一个典型的工作流配置文件长这样:

sources:
  - from: https://deno.land/x/axiod@0.24/mod.ts
    use: get
    args:
      - https://test.owenyoung.com/slim.json
    itemsPath: data.hits
    key: objectID
    limit: 1
steps: 
  - run: console.log('item', ctx.item)
  # Open: <https://requestbin.com/r/enyvb91j5zjv9/23eNPamD4DK4YK1rfEB1FAQOKIj> , See live webhook request.
  - from: https://deno.land/x/axiod@0.24/mod.ts
    use: post
    args:
      - https://enyvb91j5zjv9.x.pipedream.net/
      -  ${{ctx.item}}
      - headers:
          'Content-Type': 'application/json'

多谢阮老师提供的平台,已经在这里推出过4个项目了!

@theowenyoung theowenyoung changed the title 【开源自荐】Denoflow - 简单、强大、无服务器的自动化工作流工具,基于yaml配置文件和Deno 【开源自荐】Denoflow - 简单、强大、无服务器的自动化工作流工具,基于yaml配置文件和Deno, 配置即代码 Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants