Skip to content

ericyangpan/any2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors