iswangwenbin / ohmytrends
Publicohmytrends is a Bun-only API / CLI for querying Google Trends and Baidu Index
ohmytrends is a command-line tool that helps you look up keyword trend data from Google Trends and Baidu Index. You log into your own Google and Baidu accounts through a guided browser window, then the tool fetches and organizes the trend information you want. You can compare multiple keywords, choose different time ranges, and get results either as readable tables in your terminal or as JSON data for use in other programs. The tool also includes a local web server mode so other applications can query trend data automatically.
How It Works
You discover you need to compare how popular different keywords are over time using Google and Baidu data.
You download and set up ohmytrends on your computer, following simple installation steps.
The tool opens a browser window where you log into your Google and Baidu accounts normally, just like you would on any website.
The tool remembers your login so you won't need to do this again next time you use it.
Type your keywords directly and see beautiful tables of trend data right in your command window.
Launch a small server on your computer that lets other programs or scripts fetch trend data.
Type in the words you want to compare, like 'gpt,claude,gemini', and choose a time range like the last 30 days.
The tool shows you charts, daily values, and comparisons for your keywords in easy-to-read tables or clean JSON format.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.