Giter VIP home page Giter VIP logo

nodejs-news-feeder's Introduction

Official Node.js News Feeder

Usage

As the Node.js organization continues to grow and expand, it becomes increasingly difficult to keep track of all the ongoing projects, teams, and working groups. We've recognized this challenge and have been actively seeking solutions to improve communication and awareness within our community.

This feed was established with the intention of offering support for news sites, blogs, and other creators that aim to deliver timely updates on Node.js news, releases, and other content relevant to the Node.js community.

Consume the feed

The RSS feed is available at https://nodejs.github.io/nodejs-news-feeder/feed.xml, optionally you can subscribe to the Slack channel #nodejs-news-feeder to receive the latest news.

Use your terminal to read the latest news

You can also read the latest news directly from your terminal using the following command:

curl -s https://nodejs.github.io/nodejs-news-feeder/feed.xml | grep -E '(<title>|<link>|<pubDate>)' | sed 's/<[^>]*>//g' | sed 's/^[ \t]*//;s/[ \t]*$//'

Read the news on your browser

You can also read the latest news on your browser using the following link: https://nodejs.github.io/nodejs-news-feeder/

In order to update the RSS feed, you need to trigger the Github Action Populate Feed manually or wait for the CRON job.

This process will generate a PR with the latest news, so we can change the content and decide when to merge it.

How it works

architecture overview

  1. The community creates releases and also generates content by replying to specific issues and discussions.
  2. A GitHub Action, triggered by a cron job or manual input, collects issues/releases/discussions, processes, formats, validates, and stores all the new information as feed items.
  3. The changes are then presented in a pull request, which is thoroughly reviewed by curators who ensure that the content meet our expectations, before is publicly available and promoted.
  4. Once the changes are approved and included in the main branch, the updated content can be accessed by readers via a feed or a specific channel on Slack.

More details

Development

git clone https://github.com/nodejs/nodejs-news-feeder
cd nodejs-news-feeder
nvm use
npm install

Scripts

Code linter

npm run lint
npm run lint:fix

Testing

npm run test
npm run test:watch
npm run test:coverage

RSS formatter

Update the feed.xml file format

npm run rss:format-check
npm run rss:format

RSS Build

Update the feed.xml file with the latest news

npm run rss:build

RSS Validate

Check the current feed.xml against the https://validator.w3.org/feed/check.cgi

npm run rss:validate

License

MIT License

nodejs-news-feeder's People

Contributors

github-actions[bot] avatar mhdawson avatar ulisesgascon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hazdik

nodejs-news-feeder's Issues

What's new DEMO - News

This is just a demo issue to test the tool.

Please don't reply to this thread unless you are doing a test, thanks ๐Ÿ˜„

Idea: Top threads of the week/month

Note: sorry, hit enter on accident on the first try.

What if we scanned the project issues for active/popular issues/prs and automatically put together a "this week in node.js" threads list.

Error: Duplicated GUID values

I will work on a path for this CI Run Error:

Run npm run rss:validate

> [email protected] rss:validate
> node scripts/validate.js


line [4](https://github.com/nodejs/nodejs-news-feeder/actions/runs/6917067033/job/18817812954#step:11:5)[5](https://github.com/nodejs/nodejs-news-feeder/actions/runs/6917067033/job/18817812954#step:11:6), column [8](https://github.com/nodejs/nodejs-news-feeder/actions/runs/6917067033/job/18817812954#step:11:9)3: guid values must not be duplicated within a feed: https://github.com/cutenode/retro-weekly/blob/main/retros/2023-10-22.md [help]... ro-weekly/blob/main/retros/2023-[10](https://github.com/nodejs/nodejs-news-feeder/actions/runs/6917067033/job/18817812954#step:11:11)-22.md</guid>                                             ^

๐Ÿšจ Feed is invalid!
Error: Process completed with exit code 1.

Seems like I introduced this error on #51

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.