A simple Chrome extension that helps you save links to your Astro content collection.
- Automatically captures the current page title and URL
- Optionally captures the page's meta description
- Allows you to add custom tags
- Generates a properly formatted Markdown file for your Astro content collection
- Downloads the file directly to your computer
- Clone this repository
- Install dependencies:
npm install
- Build the extension:
npm run build
- Load the extension in Chrome:
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
distdirectory
- Open Chrome and go to
- Navigate to any webpage you want to save
- Click the extension icon in your Chrome toolbar
- The form will be pre-filled with the page title and description (if available)
- Add any tags you want (comma-separated)
- Click "Save Link"
- The Markdown file will be downloaded to your computer
- Move the file to your Astro content collection directory (
~/Documents/dev/blog/src/content/links)
To watch for changes and automatically rebuild:
npm run watchMIT