Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 554 Bytes

File metadata and controls

7 lines (4 loc) · 554 Bytes

Instapocket is a simple tool to copy and paste text from a webpage to a .txt file.

I did it because I like to edit the texts I write for a website on Sublime, but sometimes I forget to save the drafts. Now, every time I want to review and change some text I wrote for the web, I use this to paste the plain text, without the .html tags.

I did two versions of it. One uses Nokogiri to scrap the text from the html. The other copies the html and uses a regex to delete the html tags.

To install nokogiri in Ubuntu do: sudo apt-get install ruby-nokogiri