Coder Social home page Coder Social logo

brett-jpy / cli-bookmarks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 406 KB

Built using [Typer](https://typer.tiangolo.com/), this script allows you to save, search for, and open urls in the default app. As an added bonus it will also generate and export an HTML file with all the entries.

License: MIT License

Python 100.00%

cli-bookmarks's Introduction

CLI-Bookmarks

Built using Typer, this script allows you to save, search for, and open urls in the default app. As an added bonus it will also generate and export an HTML file with all the entries.

NOTE This app is still under development. The basic functionality works, however.

Commands

Commands:
  add        Create an entry given a URL
  count      Returns the number of entries
  dashboard  Open a webpage with the entries presented
  find       Search for an entry by title given a search term.
  list       Lists all entries
  tags       Provide a single word search term and all entries with tags...
  text       Given a string, fuzzy search the entries and return the top...

Examples

Running python main.py add https://google.com produces the output shown. Notice that after providing the URL it'll ask if you want provide any tags? If "no," just press enter and "None" will saved.

image1

Running with the count argument produces

image2

Running with the dashboard argument creates an HTML file that looks like this when opened. You'll see that the site's favicon is shown if it was able to be discovered at the time the entry was made.

image3

Running with the list produces the output shown, thanks to Tabulate

image4

cli-bookmarks's People

Contributors

brett-jpy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.