Code Monkey home page Code Monkey logo

tinboard's Introduction

Tinboard

Tinboard

Introduction

Tinboard is a terminal-based client application for the Pinboard bookmarking service. It provides the ability to manage and search your bookmarks in the terminal.

Installing

pipx

The package can be installed using pipx:

$ pipx install tinboard

Once installed run the tinboard command.

Homebrew

The package is available via Homebrew. Use the following commands to install:

$ brew tap davep/homebrew
$ brew install tinboard

Once installed run the tinboard command.

Getting started

To use Tinboard you will need a Pinboard account (this application isn't going to be useful to anyone who isn't a Pinboard user). Assuming you do have a Pinboard account, you can get going by running up tinboard and providing your API token when asked:

The Tinboard token input dialog

If you're not sure where to find your API token, just press F1, or the Go to token button, and you'll be taken to the relevant Pinboard page in your browser; copy the token, come back to this dialog and paste it in.

Once done Tinboard will download your bookmarks and you're good to go!

NOTE: if it's your preference, you can set the token in an environment variable called TINBOARD_API_TOKEN.

Using Tinboard

The best way to get to know Tinboard is to read the help screen, once in the main application you can see this by pressing F1.

Tinboard Help

Quick add on the command line

Tinboard has a (currently experimental) quick inline add feature. If you run:

$ tinboard add

an inline version of the bookmark editor will be shown in your terminal, allowing you to quickly add a bookmark and then carry on without running up the full application.

Getting help

If you need help, or have any ideas, please feel free to raise an issue or start a discussion.

TODO

Things I'm considering adding or addressing:

  • Double-check the rate limits on the API calls to be sure they're correct.
  • A bookmark export facility.
  • A bookmark availability checker.
    • Check the current bookmark.
    • A mode that slowly checks all bookmarks.
  • Support for Pinboard Notes.
  • Optionally sort the tags by count.

tinboard's People

Contributors

davep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

tsvenson scarvy

tinboard's Issues

Move the bookmark data out of the `Bookmarks` widget

Currently the Bookmarks widget is where all the bookmark data lives in Tinboard. This was quick and easy to get going and, initially, just made a lot of sense. Since then I've started to add the quick-add option (which shows the bookmark editor in add mode, as an inline Textual application) and it would be useful to be able to:

  • Update the local copy of the bookmarks when saving.
  • Get all the tags used in the bookmarks when populating the bookmarks suggester.

amongst other things. Also, now that there are a couple of good reasons for this, it makes sense to go with a more correct design and have the data decoupled from the view.

So... move all the bookmark data stuff into its own code such that it can be used outwith of any Textual-oriented code.

Update for Textual v0.48.x or greater

Textual v0.48 is out and has changed to OptionList and TextArea that affect tinboard. Changes to make include:

  • Update the minimum version of Textual in setup.cfg
  • Remove the Textualize/textual#3714 workaround in OptionListEx.
  • Remove tinboard.widgets.TextArea altogether, as TextArea out of the box is totally what I want now.

Also:

  • Double-check the widgets of Inputs vs other widgets in the bookmark editor dialog; this should be fixed now.
  • Double-check how the TextArea looks and feels (pay attention to size, colour, cursor, etc).

Note that as of right now I can't really move on this because of Textualize/textual#4101 which breaks the application any time bookmarks are updated.

Error when launching Tinboard

Hey,

Thanks for creating Tinboard!

After upgrading from 0.60 to 0.70, I have this error:
ReactiveError: Node is missing data; Check you are calling super().__init__(...) in the Filters() constructor, before getting reactives.
Thanks!

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.