Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Proposal: hyper --send-to-ntab ( Command ) #3813

Open
ToMMy86 opened this issue Sep 5, 2019 · 5 comments
Open

Feature Proposal: hyper --send-to-ntab ( Command ) #3813

ToMMy86 opened this issue Sep 5, 2019 · 5 comments
Labels
🛠 Type: Feature Request Issue or PR is a feature request/proposal for Hyper

Comments

@ToMMy86
Copy link

ToMMy86 commented Sep 5, 2019

  • [ x ] I am on the latest Hyper.app version
  • [ x ] I have searched the issues of this repo and believe that this is not a duplicate

Issue

Hello, first of all thanks for the awesome project !
I'm here to propose a new feature i beleve should be on the "core" of this project.

The ability to send custom commands via "hyper" .. the behaviour sould be :

IF hyper is already open --> open a new tab ( honoring all the configurations of hyper itself ) and exec there the passed command pipe.

IF hyper Closed of course open it --> exec the command pipe.

The goal:
This will enable integration with almost every third party software with ease.

I'm a system administrator and i work with the shell a lot .. it's important to me to have a responsive and customizable terminal environment ( that's why i like hyper ) i have tons of server to administer/monitor etc .. and i need a Connection Manager to store my shell sessions and commands etc... the terminal to me is a final target of something i already have saved with other tools.

Unfortunately there is not much out there that does well the job, remmina or lterm are close but are GTK based tools and use VTE terminal embedded .. so if you want to lauch saved sessions or commands in a tabbed environment .. you can't choose the terminal emulator .. and that sucks !! Also they are not integrable with third party software in a good clean manner .. and that sucks again because it's not portable !!

Getting to the poing :

I am also using KeePass / KeePassXC to store most of the ssh sessions and custom commands in custom fields.. many people that do my same job does.
This tool is gr8, i beeleve you know what i'm talking about... in particular has the cmd:// feature:
https://keepass.info/help/base/autourl.html

So you can call programs on your computer , passing the KeePass variables to the pipeline ( user/pass/key etc..) and exec them ... simply with a double click of a field.

The ability to call, for example, a stored SSH session this way, or start an rdesktop session this way .... and getting them displayed in hyper tabs .. would be A DREAM !

This also would open up more possibility to integrate ( via plugins ) a "Connection Manager" able to read KeePass databases for example.... stored in local FS or Cloud <-- I WOULD LOVE TO START WORKING ON IT
There's a project that already does the job ( other scopes, but adaptable ) and use similar technology of Hyper : https://github.com/buttercup

Or any other similar software that can "exec" commands.
Also simple shell aliases could open "in new tabs" this way.. would be awesome.

But this some examples.. having the feature to send commands to hyper tabs... can open up many possibilities of integration with thirdparty tools that manage connections/commands.

@ToMMy86
Copy link
Author

ToMMy86 commented Sep 5, 2019

Oops i've just searched better all the issues and there are other requests similar to mine.
I beeleve mine can add some more info/ideas so i leave it here, feel free to reject it if already taken into account for the future.
Thanks

Related to #3141
Related to #3780

@samrafanoe
Copy link

Looking forward to this,

@ppot
Copy link
Contributor

ppot commented Feb 17, 2020

What I was thinking when I done Keymaps, was to integrate a sessionProfiler. In sort, with a custom script.hy (.hy for Hyper). I followed rust for some time and was thinking of creating a subset for session management in rust. Will see if I get this another go. If you have suggestion, feel free to propose. I'm listening. Using rust would prevent the memory hog such as memory leak.

@xavierrobitaille
Copy link

Did anyone try the hyper-startup plugin recently? It's "an extension for Hyper, which executes commands when Hyper launches". I can't get it to work, though... I am using other plugins (eg. hyperlayout), so I don't think my .hyper.js file is broken or anything. Would love to hear if other people recently got it to work.

@xavierrobitaille
Copy link

FYI I got a tip to try hyper-init, and it works like a charm.

@LabhanshAgrawal LabhanshAgrawal added the 🛠 Type: Feature Request Issue or PR is a feature request/proposal for Hyper label Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 Type: Feature Request Issue or PR is a feature request/proposal for Hyper
Projects
None yet
Development

No branches or pull requests

5 participants