[squeak-dev] Squeak as script and/or single window app

Craig Latta craig at blackpagedigital.com
Fri Aug 3 09:25:31 UTC 2018

Hi Peter--

> Could someone point me to resources on these two topics:
> 1.  How to use squeak as a cli?  ( this is not “how to invoke
> system scripts within squeak” )

     I use NodeJS as an intermediary between Squeak and my shell and web
browser. From the shell I can make an SSH connection to NodeJS, to which
I have connected Squeak. NodeJS handles all the authentication and
terminal interaction stuff. Certificates are set up with LetsEncrypt.
Squeak controls how commands are processed and what is output back to
the shell. For example, I adapted my Quoth natural language processing
framework to it[1]. I do something similar to proxy HTTPS requests for
Squeak. The original motivation was to enable Squeak to act as a server
while running in a web browser, where normal TCP serving facilities
aren't available.

     The NodeJS part is called "node-caffeine" and is on GitHub[2].

> 2.  How to invoke squeak as a single window app.

     I would run Caffeine[3] in a web browser. It's built upon
SqueakJS[4] with its JavaScript bridge, and has support for a bunch of
DOM elements. It would be good to add support for React or some other
SPA JS framework.

     hope this helps,


[1] http://netjam.org/quoth
[2] https://github.com/ccrraaiigg/node-caffeine
[3] https://caffeine.js.org
[4] https://squeak.js.org

Craig Latta
Black Page Digital
Amsterdam :: San Francisco
craig at blackpagedigital.com
+31   6 2757 7177 (SMS ok)
+ 1 415  287 3547 (no SMS)

More information about the Squeak-dev mailing list