Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

fluid-notion/minimal-web-clipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Web Clipper

Logo A dead simple 🐵 chrome extension for clipping selections from web pages.
It allows selection of parts of a webpage and downloads the clipped content as a standalone HTML file preserving the original look and feel as closely as possible.
This file can be opened and previewed in any standard web browser.

Status

Alpha

Preliminary version was coded over a few hours while waiting for a delayed flight.

TODO

  • Automated tests
  • Firefox support
  • Support for shadow dom
  • Support for downloading fonts
  • Support for frames and iframes
  • Annotating clips before download
  • Editing and previewing clips

About Fluid Notion

Fluid Notion is a suite of minimal open-source productivity tools.

Development

This plugin was based on Samuel Simões's Chrome extension boilerplate.

Local installation during development

  1. Clone the repository.
  2. Install yarn: npm install -g yarn.
  3. Run yarn.
  4. Change the package's name and description on package.json.
  5. Change the name of your extension on src/manifest.json.
  6. Run npm run start
  7. Load your extension on Chrome following:
    1. Access chrome://extensions/
    2. Check Developer mode
    3. Click on Load unpacked extension
    4. Select the build folder.
  8. Have fun.

Packing

After the development of your extension run the command

$ NODE_ENV=production npm run build

Now, the content of build folder will be the extension ready to be submitted to the Chrome Web Store. Just take a look at the official guide to more information.