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

Folders and files

NameName
Last commit message
Last commit date
Nov 12, 2024
Mar 18, 2025
Mar 18, 2025
Mar 26, 2025
Mar 18, 2025
Mar 4, 2025
Apr 16, 2024
Mar 18, 2025
Apr 18, 2024
Mar 4, 2025
Mar 18, 2025
Mar 4, 2025
Mar 4, 2025
Mar 4, 2025
Oct 22, 2024

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/singpolyma/hxcpp update-sqlite
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

Languages