Thursday, December 12, 2013

Send Interactive Commands to a Cloud Foundry App with websocketd

on my way home from work tonight i saw the tweet below about connecting STDIN and STDOUT from remote processes with websocket. i tried it out quickly locally and it worked streaming count.sh output of numbers from 1 to 10 sent to STDOUT 1 second apart over websocket using localhost. can i apply this to cloud foundry easily?  it turns out the answer is yes!
you can easily include the small linux 64bit websocketd binary and this bash.sh script with your app and remotely send commands over websocket that will execute in the app container and stream the STDOUT from the command back over websocket to the browser. this is helpful for sending commands like rake db:migrate or to explore the linux container file system after the buildpack has run. see the screenshot and video below. for the impatient, skip to about 3:00 of the short demo.

more instructions are on github. also see the websocketd project.




21 comments:

akhil sharma said...

thanks for share this great post
valentine wishes
valentine message for husband
valentine message for wife

Narender Chahal said...

You can check your Tnpsc Group 4 hall ticket

Narender Chahal said...

RSMSSB Lab Assistant Admit Card

Unknown said...

HAPPY NEW YEAR 2017 Wish
HAPPY NEW YEAR 2017 HD Images
HAPPY NEW YEAR 2017 SMS

sana khna said...

If U Like Me Then Click On the Photo Nd Call On ym no
Be Fast I em Waiting For U
Then I will Chnage My Mobile No
http://www.girl4dosti.com/

Unknown said...


Valentine Week 2017

Sultan Faris said...

Thanks for sharing. share good information Tutuapp

Unknown said...


Very Interesting and wonderful information keep sharing this post kindly check
windows 10 iot core web service

sravani konda said...

Intresting news, Great job, Check for a while in the given below

sravani konda said...

Interesting news, Great job, Check for a while in the given below









sravani konda said...



Intresting news, Great job, Check for a while in the given below


HMWSSB Manager Jobs

MPPSC PSI Syllabus 2020

Cantonment Board Barrackpore Admit Card 2020

KPSC FDA SDA Syllabus

KPSC FDA SDA Recruitment 2020

Morgan said...

This stage is all about designing various models using the tools at one's disposal that will be a potential solution towards solving the problem at hand. data science course in hyderabad

Ethical Hacking Course said...


Top quality blog with unique content and found valuable looking forward for next updated thank you
Ethical Hacking Course in Bangalore

Online Front said...

Thanks so much with this fantastic new web site. I’m very fired up to show it to anyone. It makes me so satisfied your vast understanding and wisdom have a new channel for trying into the world.
If you want Digital Marketing Serives :-
Digital marketing Service in Delhi
SMM Services
PPC Services in Delhi
Website Design & Development Packages
SEO Services PackagesLocal SEO services
E-mail marketing services
YouTube plans

Huongkv said...

Liên hệ mua vé rẻ tại đại lý Aivivu, tham khảo

Ve may bay di My

bay về việt nam từ mỹ

giá vé hà nội đà nẵng

vé máy bay sài gòn đà lạt pacific airlines

vé máy bay đà nẵng đi phú quốc

Arnold DK said...

These application are amazing. it is very helpful and useful for me. Thanks for sharing these information with all of us. whatsapp mod

Thomya_Patlacha. said...

Though it is working well, But Can I do other software over it ??



GBWhatsapp APK 2022


rstrainings said...


I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up

Devops Training in Hyderabad

Hadoop Training in Hyderabad

Python Training in Hyderabad

Tableau Training in Hyderabad

Selenium Training in Hyderabad

Informatica Training in Hyderabad

Ali jan said...

The criteria is simple. If you rely on email marketing, social media marketing and other traceable online marketing techniques, then here are the situations to use a marketing automation software: https://www.updigital.ca

Gb whatsapp said...

You can download GBWhatsapp from our website and enjoy all the amazing features of it.
https://www.apkguru.net/gbwhatsapp-apk/

Fairy Alex said...

I'm really benefiting from your content. It's beautiful and fantastic. Many thanks for the helpful information on this subject. You did a fantastic job. To learn more about Managerial Economics Assignment Writers help service, please. Continue to share and update.