vasyahuyasa / librebread

Librebread is server for mock SMS sender services for testing purposes. Name is random

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

librebread

Librebread is server for mock SMS sender services and smtp service for testing purposes. SmsRu and Devino telecom has beed imaplemended. Librebread is just random name

Docker

https://hub.docker.com/r/vasyahuyasa/librebread

Environment config

Environment Default Description
DISABLE_TLS 0 DO not start HTTPS server on 403 port
USER Basic auth login, password must specified too
PASSWORD Basic auth password

API

HTTP 80 port

URL params

/?json=1 - JSON rsponse format

/?limit=50 - Limit of messages, default 50

URL DESCRIPTION
/ SMS messages
/helpdesk Helpdesk eddy
/email Email messages

LibreSMS

URL DESCRIPTION
/libre/send send sms
/libre/check not implemented

HTTPS 443 port

DevinoTelecom

URL DESCRIPTION
/rest/user/sessionid always return session id MOCK-SESSION-ID
/rest/sms/send send sms
/rest/sms/state check account

SmsRU

URL DESCRIPTION
/sms/user/send send sms
/sms/user/status messages status

LibreSMS

URL DESCRIPTION
/libre/send send sms
/libre/check not implemented

LibreCall

URL DESCRIPTION
/libre/flashcall init flashcall

TinkoffPayment

URL DESCRIPTION
/tinkoff/init creates payment
/tinkoff/charge performs autopay
/tinkoff/getstate returns the current payment status

LibrePayment

URL DESCRIPTION
/libre/payment creates payment
/libre/payment/{id} payment status
/libre/payment/{id}/confirm confirm payment
/libre/payment/{id}/reject reject payment
Environment Description
LIBREPAYMENT_BASE_URL Base url for generate payment link. Default http://localhost

LibreTelegram

URL DESCRIPTION
/telegram/{botToken}/{botMethod} Telegram bot api request

SMTP 25 port

Plain SMTP server

POP3 110 port

Mock of pop3 server

About

Librebread is server for mock SMS sender services for testing purposes. Name is random


Languages

Language:Go 95.8%Language:Smarty 2.1%Language:JavaScript 1.9%Language:Dockerfile 0.3%