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 t
hat use Synchronet's API, but they have to be written to work with the command l
ine (not with a remote connected user). JS doors that interact with a remote co
nnected user don't use jsexec, but rather are run by Synchronet itself when a us
er 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 anothe
r user would do) to test it.
As mentioned above, you can run JS scripts from a Linux tty with jsexec, but the
y'd have to be written a little differently to output to the tty rather than a r
emote user logged into the BBS.
Nightfox
---
■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
|