Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

any2md

Convert any web page to Markdown.

Why build this?

I frequently write articles using Cursor and often need to convert web pages content into Markdown format for reference purposes.

Therefore, I quickly built this project using Cursor to accomplish this task 🎉.

Usage

Install dependencies:

npm install

Install globally:

npm install -g

Convert web page to Markdown:

any2md <url>
% any2md "https://mp.weixin.qq.com/s/xXugkCnL0bQy9-6FTDuqHA" 
Processing URL: https://mp.weixin.qq.com/s/xXugkCnL0bQy9-6FTDuqHA
Loading page...
Article title: GPT-4o 发布,「AI 时代」我们需要什么耳机?
Content saved to: GPT-4o 发布,「AI 时代」我们需要什么耳机?.md

Output file will be saved in the current directory.

Powered by Playwright and Turndown.

Built with Cursor.

About

Convert any web page to Markdown.

Resources

Code of conduct

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /