Giter VIP home page Giter VIP logo

Comments (4)

p5quared avatar p5quared commented on August 14, 2024

In newsboat all links are followed by a [x] thing, where x is a number and at the very bottom of the article there's a section like the following:

[1] first link in the article url [2] second link in the article url

In newsboat you can configure a key where after pressing it inside an article it will prompt you for a number and after specifying which number/link you meant it opens it in a web browser.

What do you think of the Newsboat approach mentioned in #34?
A simple <#> to open any links; and just add an annotation for each link that is rendered.

Some sort of popup modal seems like overkill?

from nom.

guyfedwards avatar guyfedwards commented on August 14, 2024

Yea I think that seems like a good solution. It generally seems that newsboat has a lot of good UX features so can worth building on them. Unsure about the best ui for it, probably a panel up from the bottom with list of links and the numbers that can then be selected by typing the desired link number., similar to how the ? help panel appears currently

from nom.

p5quared avatar p5quared commented on August 14, 2024

What about supporting two options?
For example:

  • o + <#> opens a link with annotation [#](haven't looked enough into bubbletea but I'd imagine there's a way to register multi-key inputs)

  • O opens list of all links, and then press some <#> to open a specific link?

If this seems agreeable I can look into implementing.

from nom.

guyfedwards avatar guyfedwards commented on August 14, 2024

Yea those seem like solid sugggestions, would welcome the contribution.

One thing to note on the opening aspect is not to rely on xdg-open being on the system and so perhaps defaulting to xdg-open but allowigin a config option for overriding with another binary would be good.

from nom.

Related Issues (20)

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.