Giter Club home page Giter Club logo

mp_duty's Introduction

简介

这是一个使用github issue为网路上的文章存档的工具,可以将文章转为issue进行持久保存。文章的抓取使用github actions实现。抓取效果见https://github.com/duty-machine/archives/issues?q=label%3Afetched+is%3Aclosed

请使用 https://archives.duty-machine.now.sh/ 匿名提交想要抓取的页面。此网页由 https://vercel.com 托管,部署记录已公开,在最新的commit下可看到now机器人提供的部署信息。在 https://vercel.com/duty-machine/archives/版本号 可检查当前版本源码。

提交完成后等待数分钟即可完成抓取,也可以在actions中查看实时进度。

目前已进行适配的网站,其他网站会尝试抓取<article>标签内容:

  • matters.news
  • telegra.ph
  • chinadigitaltimes.net
  • mp.weixin.qq.com

fork指南

此项目可以fork到自己仓库使用,以下是操作步骤:

  1. fork
  2. 启用Issues功能。在项目的Settings - Features下勾选Issues并保存。
  3. 启用Github Action功能。在Actions标签卡下按提示操作。
  4. https://vercel.com/ 注册账号,并添加一个github integration。
  5. 在vercel的配置里添加两个环境变量:
TOKEN: 你的github api token,需要有repo权限。
REPO: fork后的repo名,格式如 'duty-machine/archives'。
  1. 在vercel的build histories里点击redeploy,使配置的环境变量生效。

问题反馈及建议

请到这个仓库发送issue: https://github.com/duty-machine/discuss

Add:强烈建议进行自有部署,保存经查看的文献文章,原branch正在逐渐加入更多可订阅网站;例如 知乎

微信公众号列表:
知乎列表:
其他网站:

原作者貌似修改了部署方式,对小白不太友好了,依照本文的依旧可以部署

mp_duty's People

Contributors

ixxmu avatar

Watchers

James Cloos avatar

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.