Skip to content

Pre-pre-pre-alpha experimental prototype work in progress. Nothing to see here!

License

Notifications You must be signed in to change notification settings

snikket-im/snikket-sdk

Repository files navigation

Snikket SDK

https://github.com/snikket-im/snikket-sdk

Working towards simplicity in developing Snikket-compatible apps.

haxelib git jsImport https://github.com/back2dos/jsImport
haxelib install datetime
haxelib install haxe-strings
haxelib install hsluv
haxelib install tink_http
haxelib install sha
haxelib install thenshim
haxelib install HtmlParser
haxelib install hxnodejs
haxelib git hxtsdgen https://github.com/singpolyma/hxtsdgen
haxelib install utest
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp
cd ~/haxe/hxcpp/git/tools/hxcpp
haxe compile.hxml
make

JavaScript

npm subdirectory will contain installable package for browser or nodejs after build. Also some typings are generated which include documenation comments.

npm install https://gitpkg-singpolyma.vercel.app/snikket-im/snikket-sdk/npm?compiled

C

libsnikket.so and cpp/snikket.h, the latter has documentation comments

Alpine Linux

Build haxelib and neko from this aports branch:

https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/69597

Install the required make dependencies:

doas apk add opus-dev libdatachannel-dev libstrophe-dev libc++-dev musl-dev --virtual snikket-sdk-makedeps

Building the sdk requires a xlocale.h file which is the same as the locale.h on your computer (provided by the musl-dev package).

doas ln -s /usr/include/locale.h /usr/include/xlocale.h

Install the haxe dependencies and run make as above.

Swift

libsnikket.so and cpp/snikket.h are wrapped by cpp/Snikket.swift

About

Pre-pre-pre-alpha experimental prototype work in progress. Nothing to see here!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages