Self-hosted service
KKKKhazix/AIHOT avatar
KKKKhazix/AIHOT

AIHOT scores every item twice, clusters reports into events and ranks by independent sources, and ships without its source list

A website framework that finds its own trending topics and writes its own daily reports. Swap in your own sources and selection criteria and it becomes your own industry trend site.

11,462 stars2,656 forksTypeScriptMIT

At a glance

What is it?
The engine behind the aihot.news AI trend site, released under MIT as a framework: swap the sources and the selection prompts and it becomes a trend site for another industry. It runs on Docker Compose, PostgreSQL and any OpenAI-compatible model API.
Who is it for?
Take AIHOT if you can name the sources and the selection standard for your own industry and you are comfortable running Docker Compose, PostgreSQL and an LLM bill. Do not take it expecting a polished, general framework or AIHOT's own source list and models page, because the author says the code is exported from the live site and will not always sync.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 1 day ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • KKKKhazix/AIHOT11,462 ★ · +4,762
Star history
Repository2026-10-082026-11-26
KKKKhazix/AIHOT6.7k11.5k

4,762 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The repository is the engine of aihot.news with the source list and operations tools removed

AIHOT is an AI trending-topics site. Every day it collects items from a set of sources, has a large model pre-screen them, scores each survivor twice independently, writes a Chinese title and summary, groups reports of the same story into one event, ranks events by how many sources are talking, and publishes a morning daily report. The repository holds the site, the admin back office, the curation flow, the clustering and heat algorithms, and the original text of every prompt along with the selection thresholds.

The author states the limits up front. This is the same engine code that runs the live site, exported from it, not a carefully polished general framework. Later AIHOT updates will be synced when possible, but not every time. Features that only make sense for the AI industry, such as the model leaderboard, the Codex reset monitor and the topic pages' timelines, stay on aihot.news, and so do the site's own operations tools. The AIHOT source list and operating data are not included, and the name and logo are outside the MIT license.

Each item gets deduplicated, pre-screened and scored twice before it can be featured

An item arrives from a source and is first checked for duplicates, then pre-screened. Items that might matter are scored twice independently with the same rubric, given a Chinese title and summary, clustered with other reports and counted toward heat. An X post with no body text or only a link keeps the original link and images and calls no writing or translation model. An item enters the featured stream only when its score clears the threshold and it does not repeat news already featured. Thresholds depend on the source tier.

There are three tiers: official first-hand, official accounts and quasi-official, and media and individuals. Daily reports are assembled by rules, with no model call. Weekly and monthly reports are compiled from the dailies, and a model writes only the overview and column introductions. Every prompt lives in industry/prompts/, so changing the standard needs no code change. The selection-score prompt is industry/prompts/selection-score.md, and the thresholds are in industry/selection.ts.

Heat counts each independent source once inside a 48 hour window and halves it after 24 hours

Clustering turns one story into one event. For candidates, the system compares title and summary vectors over the last two weeks, or text overlap when no embedding service is configured. A model then decides whether two items are the same event, a later development or two separate events. Uncertain cases merge, and a second model pass reviews before writing. That reviewer can be a different model, set with GROUP_REVIEW_MODEL.

Heat is computed per event. Inside 48 hours each independent source counts once, and the weight halves at 24 hours. Repeated crawling adds nothing, and ten articles from one outlet count once. Without an embedding service the .env.example warns that discussion posts used only as heat evidence (hot_signal sources) mostly fail to attach to events, so heat runs low. Embedding settings are EMBEDDING_BASE_URL, EMBEDDING_API_KEY and EMBEDDING_MODEL, or a DASHSCOPE_API_KEY to use text-embedding-v4.

Six source types and a bundled set of 18 overseas AI feeds

The framework accepts RSS, web lists, JSON endpoints, X accounts, WeChat official accounts, and content your own script pushes in. The push endpoint is /api/ingest/items, and docker-compose.yml sets INGEST_RATE_LIMIT with a default of 10 per client per minute, where 0 turns the limit off. Crawl frequency adjusts automatically to how much a source produces.

The repository does not carry AIHOT's real list. It includes 18 public overseas AI news sources as a demonstration, enough to see the system work. Real sources must be replaced with ones from your industry, through industry/sources.json imported on first start, or through the back office, which supports trial crawls. The author gives examples of why: people in law, HR, finance and precious metals asked for a version of AIHOT, and the author says they cannot judge which sources matter in those fields.

The quick start needs Docker, Node.js 24 and an OpenAI-compatible key

Requirements are Docker, Node.js 24 (to run init-env) and an API key for an OpenAI-compatible model, with DeepSeek, Qwen and Zhipu named as workable. The commands are:

bash
git clone https://github.com/KKKKhazix/AIHOT.git myhot
cd myhot
node scripts/init-env.ts --llm-key <你的模型 API Key>
docker compose up -d --build

The site opens at http://localhost:3000 and the back office at /admin, with the password in ADMIN_PASSWORD in .env. Content shows up after a minute or two, and the first import takes about half an hour to process. init-env configures DeepSeek by default. For other providers, edit LLM_BASE_URL, LLM_MODEL and LLM_EXTRA_JSON in .env, and for reasoning models set LLM_REASONING_TOKENS. If a call reports output token limit reached (finish_reason=length), that setting is the fix the .env.example gives.

Compose starts a postgres:17-alpine database, a setup service that runs migrations and seeds the demo sources then exits, an api service on port 3001, a worker and the web server. Deployment inside mainland China, a custom domain with HTTPS through Caddy, or running without Docker are covered in docs/deploy.md.

Retargeting the site means editing site/ and industry/, and the prompts carry the real work

Nearly everything to change sits in two folders. site/site.ts holds the site name, industry terms, publishing times, homepage copy and public API categories. EDITION_TIMES there controls when editions go out: the daily report defaults to 08:00, the weekly to Monday 10:00 and the monthly to the 1st at 10:30. industry/taxonomy.ts and industry/topics.json define categories, tags and topics. industry/prompts/ is where your industry knowledge goes. site/models.ts sets which model each step uses, though the default is the single model from .env.

The README suggests handing the repository to an agent such as Claude Code or Codex, with the instruction to read AGENTS.md and docs/customize.md and then run npm run typecheck, npm test and node scripts/smoke.ts. The time-consuming part is the scoring standard. Take one or two hundred items you have labeled yourself, run scripts/eval-selection.ts and adjust until selection is accurate, as docs/selection.md explains.

Agents get RSS, a public API, MCP, Markdown and llms.txt from the same content

Beyond the human-facing site, the same content is served as RSS (featured, all, full text, daily, weekly and monthly), a public API, MCP, Agent Markdown and llms.txt. After startup, /agent shows how to connect MCP, RSS or the API. Agents that can only read web pages start from /api/v1/agent, and the interface description is at /openapi-v1.json.

The back office includes source management with trial crawls, content diagnostics with manual score correction, selection evaluation, per-step model switching, a budget circuit breaker for paid services, and run records with alerts. The stack is Node.js 24, TypeScript, React Router with server rendering, Fastify, PostgreSQL, pg-boss, Tailwind CSS and Docker Compose. package.json requires node >=24.22.1, and the test script uses the built-in node test runner.

A designer wrote it with AI help, issues may wait, and there are no releases

The author says they are not a professional developer. They came from design, could barely read code half a year ago, and rewrote this code together with AI. They expect flaws, welcome issues, and apologize that replies may be slow. The repository has no GitHub releases, so there is nothing to pin to except a commit, and the last push was on 2026-11-02.

The repository is not archived. For questions, GitHub Discussions has Q&A, Ideas and Show and tell categories, and security reports go through SECURITY.md. The README is written in Chinese, with README.en.md alongside. Because the code license is MIT but the AIHOT name and logo are excluded, and fonts carry their own licenses listed in NOTICE, a derived site should change the name, replace the logo and check NOTICE before launch.

Editorial conclusion

Take AIHOT if you can name the sources and the selection standard for your own industry and you are comfortable running Docker Compose, PostgreSQL and an LLM bill. Do not take it expecting a polished, general framework or AIHOT's own source list and models page, because the author says the code is exported from the live site and will not always sync. Before you start, confirm you have Node.js 24 and an OpenAI-compatible API key, then run it with the 18 demo sources before touching any prompt.

Frequently asked questions

What is AIHOT?

AIHOT is a website framework that finds its own trending topics and writes its own daily reports. The repository is the engine behind aihot.news, with sources and selection criteria you can replace.

How do I run AIHOT locally?

Clone the repository, run node scripts/init-env.ts with your model API key, then docker compose up -d --build. The site opens at http://localhost:3000 with the back office at /admin.

Does AIHOT include the aihot.news source list?

No. The repository ships 18 public overseas AI news sources as a demo, and the real AIHOT source list and operating data are not included. You are expected to add your own sources.

Official sources

  1. Issues
  2. KKKKhazix/AIHOT on GitHub
  3. License: MIT
  4. Project website
  5. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/kkkkhazix-aihot.svg)](https://hysenlabs.com/projects/kkkkhazix-aihot)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/kkkkhazix-aihot.svg)](https://hysenlabs.com/projects/kkkkhazix-aihot)

Was this useful?