Can be used to send SMS, where you don't have access to internet or cannot use Web SMS gateways or want to save some money per SMS, or have minimal requirements for personal / internal use and such
[DEVICES]
section with your modem's COM port.
for ex. COM10
or /dev/USBtty2
{
"status": 200,
"message": "ok"
}
{
"status": 200,
"message": "ok",
"summary": [ 10, 50, 2 ],
"daycount": { "2015-01-22": 10, "2015-01-23": 25 },
"messages": [
{
"uuid": "d04f17c4-a32c-11e4-827f-00ffcf62442b",
"mobile": "+1858111222",
"body": "Hey! Just playing around with gosms.",
"status": 1
},
]
}
/api/sms/
On Ubuntu
On Windows
Setup GCC for go-sqlite3 package
C:\MinGW\bin
to PATHmingw-get install gcc
from command lineC:\Program Files\mingw-w64\x86_64-4.9.2-posix-seh-rt_v3-rev1\mingw64\bin
go get github.com/haxpax/gosms
cd $GOPATH/src/github.com/haxpax/gosms/dashboard
go get
go build
run dashboard executable. Copy assets, templates, conf.ini, dashboard[.exe] if you want to move to another directory db.sqlite is created at first run if not present, copy that too if its there