• Intro

    From Wormwood@VERT/BITBRAIN to All on Tuesday, September 20, 2022 21:07:30
    Hello folks. Fellow programmer here and just thought I would introduce myself. These days I've been mostly working with javascript and golang.

    I haven't been on a BBS in years but I've been having a blast setting up this one. Thanks digital man for all the hard work on synchronet.

    It's only a matter of time before I start tinkering on some custom software (probably doors). Tips for a starting place would be greatly appreciated.

    https://bitbrain.life started as a sidequest to the day job. It's really just a sandbox tool at this point but I've got synchronet running on the server as well. web interface for the bbs is at https://bbs.bitbrain.life though the web telnet client is borked. something screwy is going on with the reverse proxy(nginx). i see the connection hit the backend but it just dies. If anyone has run into this I'd appreciate some insight. Any, nice to "meet" you all.

    ---
    ■ Synchronet ■ Bitbrain.life BBS
  • From MRO@VERT/BBSESINF to Wormwood on Tuesday, September 20, 2022 16:58:13
    Re: Intro
    By: Wormwood to All on Tue Sep 20 2022 09:07 pm

    It's only a matter of time before I start tinkering on some custom software (probably doors). Tips for a starting place would be greatly appreciated.

    starting place for what?
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From Charles Blackburn@VERT/FBOBBS to Wormwood on Wednesday, September 21, 2022 08:35:23
    Re: Intro
    By: Wormwood to All on Tue Sep 20 2022 21:07:30

    I haven't been on a BBS in years but I've been having a blast setting up this one. Thanks digital man for all the hard work
    on synchronet.

    hear hear!

    It's only a matter of time before I start tinkering on some custom software (probably doors). Tips for a starting place
    would be greatly appreciated.

    i'm just starting the same thing, but im no java(script) programmer at all... your best bet would be to take a look at the repo itself as well as the wiki.

    as far as doors, you can do something simple that just uses standard STDIO i/o under linux (not sure about *dows), for example, i have a simple python script i wrote that pulls weather station details from my work network (i work for a company with the largest private wx and lightning detection network in the world) and just pulls the data from one of my local stations.

    i have to now start working on how to get the "location" of the user so that i can customise it a little and also work out an ansi screen for it :D

    regards
    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    Coming soon: FIDO-Net

    ---
    ■ Synchronet ■ The FBO BBS - bbs.thefbo.us - A place for aviation fun....
  • From Wormwood@VERT/BITBRAIN to MRO on Wednesday, September 21, 2022 17:00:17
    Re: Intro
    By: MRO to Wormwood on Tue Sep 20 2022 04:58 pm

    starting place for what?

    I guess just for getting started with door program development. I have browsed some of the projects in xtrn and it looks like most of them are in some kind of JS using whatever jsexec is. Are there API docs some place? Do people just run synchronet locally for testing/developing? Is it possible to run these apps directly from a linux tty?

    ---
    ■ Synchronet ■ Bitbrain.life BBS
  • From Digital Man@VERT to Charles Blackburn on Wednesday, September 21, 2022 10:45:31
    Re: Intro
    By: Charles Blackburn to Wormwood on Wed Sep 21 2022 08:35 am

    as far as doors, you can do something simple that just uses standard STDIO i/o under linux (not sure about *dows)

    Yes, stdio doors work on Windows too.
    http://wiki.synchro.net/howto:door:
    --
    digital man (rob)

    This Is Spinal Tap quote #45:
    I don't really think the end can be assessed as of itself as being the end Norco, CA WX: 71.1°F, 61.0% humidity, 5 mph S wind, 0.00 inches rain/24hrs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Wormwood on Wednesday, September 21, 2022 10:48:38
    Re: Intro
    By: Wormwood to MRO on Wed Sep 21 2022 05:00 pm

    Re: Intro
    By: MRO to Wormwood on Tue Sep 20 2022 04:58 pm

    starting place for what?

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

    See http://wiki.synchro.net/util:jsexec

    Are there API docs some place?

    See http://wiki.synchro.net/custom:javascript

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

    Some scripts can be run from a linux tty using jsexec *or* within the BBS terminal server, but since jsexec has a reduced object model from sbbs itself (e.g. no 'console' object), then such a script would either have to be minimal in its visual complexity or have special logic to run either mode.

    These questions are best-suited to one of the Synchronet-related message areas. --
    digital man (rob)

    Synchronet "Real Fact" #104:
    The official Synchronet YouTube channel went live on May 6, 2019
    Norco, CA WX: 71.4°F, 58.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Wormwood on Wednesday, September 21, 2022 11:38:20
    Re: Intro
    By: Wormwood to MRO on Wed Sep 21 2022 05:00 pm

    I guess just for getting started with door program development. I have browsed some of the projects in xtrn and it looks like most of them are in 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.

    Are there API docs some place?

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

    Do people just run synchronet locally for testing/developing? Is it 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
  • From Wormwood@VERT/BITBRAIN to Digital Man on Thursday, September 22, 2022 13:34:18
    Re: Intro
    By: Digital Man to Wormwood on Wed Sep 21 2022 10:48 am

    These questions are best-suited to one of the Synchronet-related message areas.

    Thank for all the info. I'll look at the other boards when more questions come up. I noticed the synchronet related programming subs were language specific and thought this board might be more general

    ---
    ■ Synchronet ■ Bitbrain.life BBS
  • From Andy Alt@VERT to Wormwood on Sunday, February 26, 2023 14:28:00
    Wormwood wrote to All <=-

    Hello folks. Fellow programmer here and just thought I would introduce myself. These days I've been mostly working with javascript and golang.

    Hi Wormwood. I'm mostly a C guy but had to learn some javascript to work on 0 A.D. random maps. :)

    --
    -Andy
    Website: https://andy5995.github.io


    --- MultiMail/Linux v0.52-c9c24da
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net