Coder Social home page Coder Social logo

Comments (3)

MaximeD avatar MaximeD commented on June 20, 2024

Auto open of the browser

I am really not fan of this behaviour, as defaut. You may create a gist to send it by email, or just to store it without really needing to view it. Moreover most terminal configurations recognizes html links and are able to open your browser on url clicking.
On the other hand, having a flag like -o to specify you wish to open your brower on the gist could be useful.

Copy url to clipboard

Yes, definitly, but I am struggling on which clipboard should be used. Between X's, primary and secondary ; how to handle other os. And I wish not to introduce too many dependency to other tools like xclip. I saw that gist is listing known clipboard commands and realized I have none of them installed on my computer.. I'll take some time to think about it, but for now, I don't see any clear solution for every user.

Still, thanks for your suggestions

from gost.

adamstac avatar adamstac commented on June 20, 2024

No worries at all. I'm happy to share some ideas with you.

I agree with passing -o as a flag to open the URL after creating. URLs in terminal are clickable, but require mouse movement.

A flag to copy the gist url to the clipboard could be nice as well.

from gost.

MaximeD avatar MaximeD commented on June 20, 2024

Both features added, let me know if you experience any problem

from gost.

Related Issues (17)

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.