Skip to content

A cli based implementation to organise favourite pages like blogs and then open them in browser easily

Notifications You must be signed in to change notification settings

shobhit10058/KeepBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This simple cli interface will help you organise your favourite webpages in your system through command line.

Presently most of things work in linux. The project is in developing mode as there are lot of improvements that can be done.

So, if there are any suggestions please open a issue.

Installation:

  1. clone the repository
  2. go in the repo directory
  3. run pip or pip3 install -e ./(Installing in editable mode)
  4. Now you can use it as KeepBlog

You can remove it easily thorugh pip3 or pip uninstall KeepBlog

Example usage:
KeepBlog

Usage: KeepBlog [OPTIONS] COMMAND [ARGS]...

  Simple CLI for saving your favourite webpages like blogs  under different
  topics and then seeing them whenever you wish

Options:
  --help  Show this message and exit.

Commands:
  addblog   Add your favourite Page
  open      Open the webpage in your browser
  remove    without any options this delete all saved pages, see with --help
  seepages  See all saved pages of a topic

Validators are also used to validate a webpage address.
KeepBlog addblog Wrong invalidPage hi.com

Your url is not correct, you can try using http:// in front of the url you are saving

KeepBlog seepages

There are 0 topics

KeepBlog addblog SegmentTrees SegmentTreesProblems https://codeforces.com/blog/entry/22616


KeepBlog seepages

There are 1 topics
segmenttrees
Input a topic to see all the pages within it: SegmentTrees
Name-> segmenttreesproblems, Link-> https://codeforces.com/blog/entry/22616

KeepBlog open SegmenttreesProblems

Opening in your browser

and then it opens in a new tab in your browser.

KeepBlog remove

Do you want to continue? [y/N]: y

KeepBlog seepages

There are 0 topics

You can use command remove to remove any particular topic or page also.
Check with KeepBlog remove --help.

Added fuzzy search, it uses the maximum edit distance of any substring with the query string.
This is implemented with the fuzzywuzzy library partial ratio method of fuzz.
Top 5 maximum scored strings are shown.

KeepBlog seepages

There are 7 topics
opensourcechannels
search_algo
kwoc
youtube_transcript
kwocprojects
problems
important
Input a topic(lower or upper case) to see all the pages within it: woc
No such topic exists

The most similar are:
kwoc
kwocprojects
opensourcechannels
search_algo
youtube_transcript

KeepBlog open search

No such pages are saved.

The most similar are:
different_search_method
spaceye
work-at-a-startup
startwithextensions
sim-c

About

A cli based implementation to organise favourite pages like blogs and then open them in browser easily

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages