Mock SMS server for testing SMS-based applications. It can be used to reduce enterprise costs in the test environment.
fake-sms
is compatible for Casdoor
go-sms-sender by default.
Try it out at https://fake-sms.erguotou.me
- Easy to use: Just create an application on our platform and configure the appId and appSecret in the
Casdoor
compatible SMS provider. - ⏱️ Real-time: SMS content is pushed through websocket in real time.
- Cost-saving: No need to send real SMS messages in the test environment.
-
Login/Register on https://fake-sms.erguotou.me
-
Create a new Application
-
Click the
Setting
icon on the bottom of your application, and save theappId
andappSecret
into your SMS provider's database, like below:
Provider Name | App ID | App Secret | Template |
---|---|---|---|
Infobip SMS | jOFwCWm0aYV21brgWnqbQ3lALXmoPAkX | HgD7lCijmU68Nf6BDL3TNSwA27FQdf1JTxR40K0Gz07OmfuaxlcwZTX4R5PDJOzz | Hello, your code is {code} |
Note: The
Provider Name
must beInfobip SMS
for now.
-
Use casdoor/go-sms-sender based server to send SMS messages
-
Click the
Chat
icon on the bottom of your application which will show a shared message dashboard. Check the SMS messages sent by the server in the shared message dashboard.
- Chrome extension. Download the zip file and extract it, then go to
chrome://extensions/
in your browser, enable developer mode, and load the extracted folder as an unpacked extension. - Microsoft Edge extension. Download the zip file and extract it, then go to
edge://extensions/
in your browser, enable developer mode, and load the extracted folder as an unpacked extension. - Shared message dashboard. If you just want to listen to your own phone messages, use the link https://fake-sms.erguotou.me/#/messages?type=phones&topics=13800138000
We use bun
to develop this project, so you need to install it first:
curl -fsSL https://bun.sh/install | bash
bun install
cd packages/server
bun dev
cd packages/web
bun dev
cd packages/chrome-ext
bun dev