Coder Social home page Coder Social logo

tweet2toot's Introduction

Hi there, this is Mashiro 👋

profile trophy

GitHub stats

  • 🔭 I’m currently working on Vue, React and Flutter development;
  • 🌱 I’m currently learning Rust and Go;
  • 💬 Ask me about anything tech related, I am happy to help;
  • 📫 It's OK to reach me through the email on this page;
  • ⚡ Fun fact: I wanna be a game developer 😃

wakatime stats

Links

Weibo Mastodon Twitter Zhihu WakaTime

tweet2toot's People

Contributors

dependabot[bot] avatar mashirozx avatar retiredworld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tweet2toot's Issues

添加 filter 与 备用 RSS 源

添加了一个 filter 功能,添加原因为有些老师会在 twitter上发布作品,这些作品都有固定的格式(比如 title),可以通过这个来过滤只转嘟这些作品,而避开一些无关的内容。

[MASTODON]
Filter = None

添加方式为通过简单的正则表达式( re 模块)。如果选项设置为 None 则不使用过滤器。

另外添加了一个备用 RSS 源的功能

[TWITTER]
TwitterRss = https://rss.zeka.cloud/twitter/user/ruanyf
BackupRss = https://rsshub.app/twitter/user/ruanyf

如果首要 rss 源头获取失败的话会自动转向备用源,这里我默认将首要源设置为了我自己的源(rss.zeka.cloud),因为我恰好申请到了开发者帐号,而且配额足够(应该),所以自作主张添加了自己的源,希望能缓解 RssHub 的压力。

我的 rsshub 是部署在 Heroku 的,并且设置了自动更新,好处是利于国内访问,我个人也用了一段时间了,没有出现问题。开发者帐号为小号,所以即使出了问题对我影响也不大。

上面的功能都向下兼容,所以更新后原配置不变不会有任何影响。

我的 版本在 这里,如果你觉得我就提交 pr 力。
上面其实提供了两个功能,我的 pr 是 一起的,如果你只希望一个功能,我可以拆分。

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.