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.




33 comments:

akhil sharma said...

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

Rahul Singh said...

nice
happy valentine day
valentine day wishes for boyfriend
valentine day poems for girlfriend
valentines day message for wife
valentine day message for girlfriend

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

Unknown said...

Want to know about Veterans Day,which is a day to celebrate the great officers of the US army,just checkout my blog Happy Veterans Day and stay updated.

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

Unknown said...

just information we only provide information for those who need it cara menggugurkan kandungan
A. obat telat datang bulan
B. posisi berhubungan agar cepat hamil
C. makanan dan minuman agar cepat hamil
D. panduan agar cepat hamil
E. cara agar cepat hamil
F. cara agar cepat hamil setelah selesai haid
G. cara alami untuk segera mendapat kehamilan

Abhinavhyd said...

Hey, thanks for this great article I really like this post and I love your blog and also Check Python course Training in 360DIGITMG. Python Training certification program provides an overview of how Python and R programming can be employed in Data Mining of structured (RDBMS) and unstructured (Big Data) data. Comprehend the concepts of Data Preparation, Data Cleansing and Exploratory Data Analysis. Perform Text Mining to enable Customer Sentiment Analysis. Learn Machine learning and developing Machine Learning Algorithms for predictive modeling using Regression Analysis. Assimilate various black-box techniques like Neural Networks, SVM and present your findings with attractive Data Visualization techniques.
360Digitmg Python Training institute

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

invincible01 said...

Amazing Article,Really useful information to all So, I hope you will share more information to be check and share here.


inplant training for biotechnology in chennai
inplant training for ece students
inplant training mechanical engineering students
inplant training certificate format for civil engineering
inplant training report ppt
inplant training report samples
inplant training letter format
inplant training report for civil engineering pdf
inplant training report for electrical engineering

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

rstrainings said...


it’s really nice and meanful. it’s really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information.
Data Science Training in Hyderabad

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 USA

Hadoop Training in Hyderabad

Python Training in Hyderabad

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

python training said...

it’s really nice and meanful. it’s really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information.
Data Science Training in Hyderabad

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

Vernon Good said...

What are the best sugar daddy websites for sugar babies finding a sugar daddy? What are the best sugar daddy sites for helping to get a sugar daddy free of charge?

sugar daddy sites without meeting

Unknown said...

The secret law of attraction dates back 5,000 years ago and it a natural law. It is not magic, but like magic and prays it is placing an intention to God or Universe to let them know what you want or need. It is a very powerful tool to change your life. You can bring yourself into perfect alignment with what you want or need. With the power of affirmations, visualization, and prays you to improve your life. Law of Attraction

sanshi said...

Thanks for your sharing great article, I am very happy to read this article and I like it very much!I would also recommend it to my friends.
sun news live
sun news
sun tv live
news 7 live
sun news live today
sun tv news
sun tv news live
sun tv live news
சன் நியூஸ்
thanthinews

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

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

KOLD said...

Your post is helping me a lot. Its really nice and epic. Thanks a lot for the useful info on this topic. You did it so much well. I love to see more about GBWhatsApp. Keep sharing and updating. Also share more posts with us. Thank you.

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.