Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Global owner for the repository
* @logusivam
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: logusivam
---

**Describe the bug**
A clear and concise description of what the bug is.

**Expected behavior**
A clear and concise description of what you expected to happen.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE] "
labels: enhancement
assignees: logusivam
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Description
Provide a brief description of the changes introduced by this PR.

## Related Issue
Fixes # (issue number)

## Checklist
- [ ] Code follows the established style guidelines.
- [ ] Tests have been added/updated.
- [ ] Documentation has been updated.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Continuous Integration

on:
pull_request:
branches: [ main ]

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci || npm install
- name: Run Tests
run: npm test --if-present
14 changes: 14 additions & 0 deletions .github/workflows/deploy-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy Client

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Placeholder Client Build
run: echo "Add client build commands here (e.g., npm run build)"
- name: Placeholder Client Deploy
run: echo "Add client deploy commands here (e.g., AWS S3 sync, Vercel, etc.)"
14 changes: 14 additions & 0 deletions .github/workflows/deploy-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy Server

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Placeholder Server Build
run: echo "Add server build commands here"
- name: Placeholder Server Deploy
run: echo "Add server deploy commands here (e.g., AWS EC2, Heroku, Render)"
42 changes: 42 additions & 0 deletions .github/workflows/rss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: RSS Aggregator

on:
schedule:
- cron: '0 */3 * * *'
workflow_dispatch:

permissions:
contents: write

jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
run: npm install rss-parser

- name: Run Aggregator Script
run: node aggregator.js

- name: Commit and push changes
env:
GIT_NAME: ${{ secrets.USER_NAME }}
GIT_EMAIL: ${{ secrets.USER_EMAIL }}
run: |
git config --global user.name "$GIT_NAME"
git config --global user.email "$GIT_EMAIL"
git add README.md
if git diff --staged --quiet; then
echo "No new updates to commit."
else
git commit -m "docs: append latest tech stack articles"
git push
fi
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Node Dependencies
node_modules/
package-lock.json

# npm/Yarn logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# OS Generated Files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Editor / IDE Files
.vscode/
.idea/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Environment Variables (Safety precaution)
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "Running pre-commit checks..."
npm run lint --if-present
5 changes: 5 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "Running pre-push tests..."
npm test --if-present
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"gitdoc.enabled": false
}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.0.0] - 2026-07-02
### Added
- Initial release of the Tech Stack RSS Aggregator.
- GitHub Actions workflow for daily automated commits.
- Husky pre-commit and pre-push hooks.
- Professional repository folder structure and templates.
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributing to Tech Stack RSS Aggregator

Thank you for your interest in contributing!

## Process
1. Fork the repository.
2. Create a new branch (`git checkout -b feature/your-feature`).
3. Commit your changes (`git commit -m 'feat: add some feature'`).
4. Push to the branch (`git push origin feature/your-feature`).
5. Open a Pull Request targeting the `main` branch.

## Code of Conduct
Please maintain a respectful and professional environment. All PRs will be reviewed by @logusivam.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Loganathan G P (@logusivam)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# tech-stack-aggregator
# tech-stack-aggregator
## 2026-07-02

### React
- [The React Foundation: A New Home for React Hosted by the Linux Foundation](https://react.dev/blog/2026/02/24/the-react-foundation)
- [Denial of Service and Source Code Exposure in React Server Components](https://react.dev/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components)
- [Critical Security Vulnerability in React Server Components](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components)
- [React Conf 2025 Recap](https://react.dev/blog/2025/10/16/react-conf-2025-recap)
- [React Compiler v1.0](https://react.dev/blog/2025/10/07/react-compiler-1)

### Node.js
- [Node.js 26.4.0 (Current)](https://nodejs.org/en/blog/release/v26.4.0)
- [Node.js 24.18.0 (LTS)](https://nodejs.org/en/blog/release/v24.18.0)
- [Node.js 22.23.1 (LTS)](https://nodejs.org/en/blog/release/v22.23.1)
- [Node.js 26.3.1 (Current)](https://nodejs.org/en/blog/release/v26.3.1)
- [Node.js 24.17.0 (LTS)](https://nodejs.org/en/blog/release/v24.17.0)

### MongoDB
- [10 Years of MongoDB Atlas: Built for What’s Next](https://www.mongodb.com/company/blog/news/10-years-mongodb-atlas-built-for-whats-next)
- [Build Trust in Agentic AI: From POC to Production](https://www.mongodb.com/company/blog/innovation/build-trust-in-agentic-ai-from-poc-to-production)
- [Production-Ready Agents Need A Production-Ready Data Platform](https://www.mongodb.com/company/blog/innovation/production-ready-agents-need-production-ready-data-platform)
- [Agentic Supplier Management with MongoDB Atlas, Voyage AI, and Multi-Modal Search](https://www.mongodb.com/company/blog/innovation/agentic-supplier-management-with-atlas-voyage-ai-multi-modal-search)
- [Fighting Tool Sprawl: The Case for AI Tool Registries](https://www.mongodb.com/company/blog/technical/fighting-tool-sprawl-case-for-ai-tool-registries)
54 changes: 54 additions & 0 deletions aggregator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
const fs = require('fs');
const Parser = require('rss-parser');

const parser = new Parser();
const README_FILE = 'README.md';

const FEEDS = [
{ category: 'React', url: 'https://react.dev/rss.xml' },
{ category: 'Node.js', url: 'https://nodejs.org/en/feed/blog.xml' },
{ category: 'MongoDB', url: 'https://www.mongodb.com/blog/rss' }
];

async function run() {
let content = fs.existsSync(README_FILE) ?
fs.readFileSync(README_FILE, 'utf8') :
'# Tech Stack RSS Aggregator\n\nAutomated daily updates.\n\n';

const today = new Date().toISOString().split('T')[0];
let addedSomething = false;
let appendString = '';

if (!content.includes(`## ${today}`)) {
appendString += `\n## ${today}\n`;
}

for (const feed of FEEDS) {
try {
const parsed = await parser.parseURL(feed.url);
let categoryNewItems = [];

for (const item of parsed.items.slice(0, 5)) {
if (!content.includes(item.link)) {
categoryNewItems.push(`- [${item.title}](${item.link})`);
}
}

if (categoryNewItems.length > 0) {
appendString += `\n### ${feed.category}\n` + categoryNewItems.join('\n') + '\n';
addedSomething = true;
}
} catch (err) {
console.error(`Error fetching ${feed.category}:`, err.message);
}
}

if (addedSomething) {
fs.appendFileSync(README_FILE, appendString);
console.log("Successfully appended new articles.");
} else {
console.log("No new articles found across feeds.");
}
}

run();
31 changes: 31 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "tech-stack-aggregator",
"version": "1.0.0",
"description": "An automated repository utilizing GitHub Actions to fetch, curate, and log the latest updates from core technologies (React, Node.js, MongoDB) directly into the README.",
"main": "aggregator.js",
"scripts": {
"start": "node aggregator.js",
"prepare": "husky install",
"test": "echo \"Error: no test specified\" && exit 0",
"lint": "echo \"Error: no lint specified\" && exit 0"
},
"keywords": [
"rss-aggregator",
"github-actions",
"automation",
"nodejs",
"react",
"mongodb"
],
"author": "Loganathan G P (@logusivam)",
"license": "MIT",
"dependencies": {
"rss-parser": "^3.13.0"
},
"devDependencies": {
"husky": "^8.0.3"
},
"engines": {
"node": ">=20.0.0"
}
}
Loading