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.
Installation:
- clone the repository
- go in the repo directory
- run pip or pip3 install -e ./(Installing in editable mode)
- 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