Subj : Intro
To   : Wormwood
From : Nightfox
Date : Wed Sep 21 2022 11:38 am

 Re: Intro
 By: Wormwood to MRO on Wed Sep 21 2022 05:00 pm

Wo> I guess just for getting started with door program development. I have
Wo> browsed some of the projects in xtrn and it looks like most of them are in
Wo> some kind of JS using whatever jsexec is.

jsexec is a command-line program included with Synchronet that runs JS scripts that use Synchronet's API, but they have to be written to work with the command line (not with a remote connected user).  JS doors that interact with a remote connected user don't use jsexec, but rather are run by Synchronet itself when a user is logged in.

Wo> Are there API docs some place?

Yes:
http://www.synchro.net/docs/jsobjs.html

Wo> Do people just run synchronet locally for testing/developing? Is it
Wo> possible to run these apps directly from a linux tty?

When I'm writing a JS door for an online user, I just log into my BBS (as another user would do) to test it.

As mentioned above, you can run JS scripts from a Linux tty with jsexec, but they'd have to be written a little differently to output to the tty rather than a remote user logged into the BBS.

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com