Compare search interest for multiple keywords over a date range.
Run it as a local server and query it from scripts or other tools.
Pull Baidu Index search and feed data alongside Google Trends.
Compile it into a single-file binary for use without installing Bun.
| iswangwenbin/ohmytrends | albertaworlds/japanese-text-cleaner | ayangabryl/ngx-digit-flow | |
|---|---|---|---|
| Stars | 30 | 30 | 30 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires the Bun runtime, not Node.js, plus a manual login step on first use.
ohmytrends is a command-line tool and local API server for fetching search trend data from Google Trends and Baidu Index. It lets you query both services from one place, compare multiple keywords, set a date range, and get the results as a formatted table or JSON. You can also run it as a background server that accepts requests over a local URL, which makes it easier to integrate with scripts or other tools. The tool works by controlling a browser using your own logged-in account session. It does not bypass any login requirements or access controls: if a service requires you to sign in, the tool walks you through a manual login step the first time, then reuses that session for subsequent queries. Results are cached in a local SQLite database so repeated queries for the same keywords do not need to hit the service again, and the data remains available after a server restart. For Google Trends, the tool collects timeline data (how search interest for a keyword changes over time) and related queries. For Baidu Index, it collects search index values, feed index values, and overview row data. Geographic filtering is supported for Google queries. The API server accepts a keyword list and a time range, queues the request, and returns a poll URL you can check until the query completes. The project requires Bun, a JavaScript runtime that is distinct from Node.js. It does not run with npm or Node.js. The README notes that query frequency should be kept reasonable to avoid triggering rate limits or risk controls on the services being queried, and recommends using a secondary account rather than a primary personal account. It can be compiled into a single-file binary for use without a Bun installation on the target machine.
A command-line tool and local API server that fetches Google Trends and Baidu Index search-trend data using your own account session.
Mainly TypeScript. The stack also includes TypeScript, Bun, SQLite.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.