# Hacker News Dev.to GitHub Trending Developer Pulse (`gaivin/developer-pulse-hn-devto-github`) Actor

Hacker News top stories, Dev.to trending articles and GitHub trending repositories in one dataset. Developer news, programming trends and open source discovery in one run.

- **URL**: https://apify.com/gaivin/developer-pulse-hn-devto-github.md
- **Developed by:** [duan jiayun](https://apify.com/gaivin) (community)
- **Categories:** Developer tools, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Developer Pulse Scraper — Hacker News, Dev.to & GitHub Trending

Collect the **hottest developer stories**, **top Dev.to articles** and **trending GitHub repositories** in one flat dataset.

Free public endpoints only. **No API key. No login. No OAuth.**

### Why this Actor

Following developer trends normally means three separate integrations with three schemas. This Actor returns **one dataset with one schema**, ready for newsletters, dashboards, Slack bots or LLM/RAG pipelines.

Useful for:

- Daily tech newsletter generation
- "What's hot in dev right now" dashboards
- Finding breakout open-source projects before they go mainstream
- LLM agent grounding with fresh technical content
- Competitive / ecosystem research

### Quick start

Paste this into the Input tab and hit **Start** — no configuration needed.

```json
{"sources": ["hackernews", "devto", "github"], "limit": 30}
```

That gives you 技术社区今日热点 in one run.

Or from the command line:

```bash
curl -X POST "https://api.apify.com/v2/acts/gaivin~developer-pulse-hn-devto-github/runs?token=YOUR_TOKEN"   -H "Content-Type: application/json"   -d '{"sources": ["hackernews", "devto", "github"], "limit": 30}'
```

### What you get

Every row shares the same flat shape:

| Field | Type | Meaning |
|---|---|---|
| `source` | string | `hackernews`, `devto` or `github` |
| `type` | string | `story`, `article` or `repository` |
| `title` | string | Story title, article title, or `owner/repo` |
| `score` | number | HN points, Dev.to reactions, or GitHub stars |
| `url` | string | Canonical link |
| `extra` | string | Comments, author, tags, language, description — source-specific |
| `scraped_at` | string | ISO 8601 UTC timestamp |

#### Example rows

```json
{
  "source": "hackernews",
  "type": "story",
  "title": "Need for Speed Underground 2 online in the browser",
  "score": 424,
  "url": "https://nfsu2.xyz/",
  "extra": "comments=135 author=fluxusars posted=2026-11-07T09:12:00Z hn=https://news.ycombinator.com/item?id=...",
  "scraped_at": "2026-11-07T16:40:02Z"
}
```

```json
{
  "source": "github",
  "type": "repository",
  "title": "Jakeschincariol/day-trader-skill",
  "score": 5904,
  "url": "https://github.com/Jakeschincariol/day-trader-skill",
  "extra": "lang=Python forks=412 issues=8 desc=... topics=...",
  "scraped_at": "2026-11-07T16:40:02Z"
}
```

### Data sources

| Source | Provider | What it covers |
|---|---|---|
| `hackernews` | Hacker News (Firebase API) | Top stories with points, comments and author |
| `devto` | Dev.to API | Top articles of the week with reactions, tags, reading time |
| `github` | GitHub Search API | Repositories created recently, sorted by stars |

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `sources` | array | all three | `hackernews`, `devto`, `github` |
| `limit` | integer | `20` | Rows per source, 1–100 |
| `githubDays` | integer | `30` | Only repos created in the last N days |
| `githubLanguage` | string | `""` | Optional language filter: `python`, `typescript`, `rust`… |

### Output size and cost

Default run = **60 rows** (20 HN + 20 Dev.to + 20 GitHub).

Pricing: **$0.03 per Actor start** + **$2.00 per 1,000 results**.
A default run costs about **$0.15**. Platform usage included — no extra compute charge.

### Tips

- Set `githubDays` to **7** for the freshest breakouts, or **90** for a broader trend picture.
- Set `githubLanguage` to `python` or `typescript` to narrow the repo list.
- HN fetches details one story at a time; with `limit` above ~50 the run takes noticeably longer.
- Schedule it daily at a fixed hour to build a trend time series.

### Notes

- All endpoints are public and key-free.
- GitHub's unauthenticated search API allows ~10 requests/minute; a single run makes one request.
- If one source fails, the rest still complete. Check the log for `[source] failed` warnings.

### Related Actors

More public-data Actors by the same author. All use the same flat schema (`source`, `type`, `title`, `score`, `url`, `extra`, `scraped_at`), so datasets from different Actors can be concatenated directly.

**China data**

- [`china-market-trend-pulse`](https://apify.com/gaivin/china-market-trend-pulse) — Douyin hot search and e-commerce boards, Weibo trends, plus A-share index quotes in one run.
- [`china-tech-news-trends`](https://apify.com/gaivin/china-tech-news-trends) — ITHome, SSPAI, V2EX and Baidu hot search — what Chinese tech is actually reading today.
- [`china-trending-aggregator`](https://apify.com/gaivin/china-trending-aggregator) — Zhihu hot search, Bilibili rankings and Douban hot lists — the Chinese internet's front page.
- [`cn-entertainment-trends`](https://apify.com/gaivin/cn-entertainment-trends) — Douban movie/TV/variety rankings with live ratings + Bilibili hot videos, rankings, hot search and creator cards.

**AI and research**

- [`ai-model-radar-huggingface-openrouter`](https://apify.com/gaivin/ai-model-radar-huggingface-openrouter) — HuggingFace trending models, datasets and spaces plus live OpenRouter and LiteLLM token pricing.
- [`ai-research-papers-arxiv`](https://apify.com/gaivin/ai-research-papers-arxiv) — Newest arXiv papers in cs.AI, cs.LG and cs.CL with authors, abstracts and categories.

**Developer tools**

- [`open-source-dependency-health`](https://apify.com/gaivin/open-source-dependency-health) — OSV vulnerabilities pinned to your exact version, plus npm/PyPI downloads and deps.dev release status.

**News and trends**

- [`world-news-pulse-bbc-guardian-npr`](https://apify.com/gaivin/world-news-pulse-bbc-guardian-npr) — BBC, Guardian, Al Jazeera and NPR headlines in one deduplicated dataset.

**Business and lifestyle**

- [`app-store-steam-tracker`](https://apify.com/gaivin/app-store-steam-tracker) — iTunes top charts and Steam specials, top sellers and new releases, with FX conversion.
- [`books-research-tracker`](https://apify.com/gaivin/books-research-tracker) — Open Library trending books and search, newest Crossref articles and bioRxiv/medRxiv preprints.
- [`global-markets-stocks-crypto-fx`](https://apify.com/gaivin/global-markets-stocks-crypto-fx) — Stock quotes, crypto prices and FX rates in one flat dataset. No API key.
- [`podcast-youtube-tracker`](https://apify.com/gaivin/podcast-youtube-tracker) — iTunes podcast charts, podcast RSS episodes and YouTube channel feeds in one schema.
- [`remote-jobs-aggregator`](https://apify.com/gaivin/remote-jobs-aggregator) — Five job boards (Remotive, Arbeitnow, Jobicy, Himalayas, RemoteOK) in one searchable dataset.
- [`startup-vc-signal-tracker`](https://apify.com/gaivin/startup-vc-signal-tracker) — YC company directory, Crunchbase and TechCrunch funding news, Show HN launches and Lobsters.
- [`weather-air-quality-monitor`](https://apify.com/gaivin/weather-air-quality-monitor) — Multi-city weather forecast, PM2.5/AQI, sunrise and sunset, plus live ISS position.

> Running any of these? Open an issue on the Actor page — feature requests shape the roadmap.

# Actor input Schema

## `sources` (type: `array`):

Which developer feeds to collect: 'hackernews' for Hacker News top stories, 'devto' for Dev.to top weekly articles, 'github' for trending repositories. Leave the default to get all three.

## `limit` (type: `integer`):

How many items to take from each source. Between 1 and 100.

## `githubDays` (type: `integer`):

Only include repositories created within this many days, sorted by stars. 7 gives you the freshest breakouts; 30 gives a broader trend view.

## `githubLanguage` (type: `string`):

Optional programming language to restrict GitHub results, e.g. python, typescript, rust. Leave empty for all languages.

## Actor input object example

```json
{
  "sources": [
    "hackernews",
    "devto",
    "github"
  ],
  "limit": 20,
  "githubDays": 30,
  "githubLanguage": ""
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset with one row per developer trend item.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "sources": [
        "hackernews",
        "devto",
        "github"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gaivin/developer-pulse-hn-devto-github").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "sources": [
        "hackernews",
        "devto",
        "github",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gaivin/developer-pulse-hn-devto-github").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "sources": [
    "hackernews",
    "devto",
    "github"
  ]
}' |
apify call gaivin/developer-pulse-hn-devto-github --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gaivin/developer-pulse-hn-devto-github"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HyLzIceOIgdtAdp0i/builds/acJ1dumnbFKaJE2C5/openapi.json
