https://github.com/garronej/chan-dongle-extended
An extention for chan_dongle: PIN codes, multipart SMS, contacts.
https://github.com/garronej/chan-dongle-extended
Last synced: about 1 month ago
JSON representation
An extention for chan_dongle: PIN codes, multipart SMS, contacts.
- Host: GitHub
- URL: https://github.com/garronej/chan-dongle-extended
- Owner: garronej
- Created: 2017-03-06T11:13:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T20:20:20.000Z (over 2 years ago)
- Last Synced: 2025-05-05T04:04:44.759Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://garronej.github.io/chan-dongle-extended-pages/
- Size: 1.05 MB
- Stars: 28
- Watchers: 3
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chan-dongle-extended
[WEBSITE](https://garronej.github.io/chan-dongle-extended-pages/)
## Installing node
Note for 2021: Save yourself some time, at least for developement, **use Debian 9: Stretch**
### On armv6 hosts ( raspberry pi 1 )
``` bash
# We can't install it from the repository so we have to download it manually:
# ( The download link is on the download page of the node.js website )
$ cd ~ && wget https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-armv6l.tar.xz
$ tar xf node-v8.*-linux-armv6l.tar.xz
# Add the path to node bin dir to the PATH, .bashrc: export PATH=/home/pi/node-v8.12.0-linux-armv6l/bin:$PATH
$ source ~/.bashrc
$ sudo su
$ npm install -g npm@latest-5
```### On any other host ( armv7, x32, x64 )
``` bash
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ sudo npm install -g npm@latest-5
```## Publish release
To build, bundle and publish a new release for
a specifics arch there is no need to ``npm install`` just clone
this repo then:* run ``npm run partial_install`` ( without sudo, only first time )
* run ``npm run release`` ( without sudo )## Run local copy of the code for debugging
``` bash
$ npm install
$ sudo ./node dist/bin/installer install
$ npm start
```## Note regarding dependencies
At the time of writing these lines libudev-dev ( https://packages.debian.org/fr/jessie/libudev-dev )
is the development package targeting 'libudev1' for jessie, stretch and buster ( oldstable, stable and testing)
Make sure it is still the case when building a new release.
Indeed 'cheery/node-udev' is not recompiled on client's host so if it happen that libudev1 is not available on a
resent release of debian or ubuntu it will not work.
In short make sure that we does not found ourselves in the situation of libssl-dev ( https://packages.debian.org/fr/jessie/libssl-dev )
Where the target is the packet 'libssl1.0.0' for jessie and 'libssl1.1' for stretch and buster.UPDATE: The following note would be purposeful
only if we decided on the future NOT to recompile
'cheery/node-udev' on the client host but currently
we do so the note can be ignored.