Skip to content

Linell/link-saver

Repository files navigation

Link Saver for Astro

A simple Chrome extension that helps you save links to your Astro content collection.

Features

  • 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

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Build the extension:
    npm run build
  4. 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 dist directory

Usage

  1. Navigate to any webpage you want to save
  2. Click the extension icon in your Chrome toolbar
  3. The form will be pre-filled with the page title and description (if available)
  4. Add any tags you want (comma-separated)
  5. Click "Save Link"
  6. The Markdown file will be downloaded to your computer
  7. Move the file to your Astro content collection directory (~/Documents/dev/blog/src/content/links)

Development

To watch for changes and automatically rebuild:

npm run watch

License

MIT

About

A Chrome extension to make it easier to save links to my personal website.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors