https://github.com/sanwebinfo/sanpush-cli
A Simple CLI for Deno Webhook Server to Reload and Send Message to Clients from Terminal.
https://github.com/sanwebinfo/sanpush-cli
cli cli-app command-line-tool go golang golang-cli
Last synced: 7 months ago
JSON representation
A Simple CLI for Deno Webhook Server to Reload and Send Message to Clients from Terminal.
- Host: GitHub
- URL: https://github.com/sanwebinfo/sanpush-cli
- Owner: sanwebinfo
- License: mit
- Created: 2024-07-07T05:19:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-07T05:34:43.000Z (over 1 year ago)
- Last Synced: 2025-01-26T00:27:14.497Z (9 months ago)
- Topics: cli, cli-app, command-line-tool, go, golang, golang-cli
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SanPush CLI
A Simple CLI for Deno Webhook Server to Reload and Send Message to Clients from Terminal.
## Usage
- Download or clone the repo
```sh
https://github.com/sanwebinfo/sanpush-cli.git
cd sanpush-cli
```
- Create `yaml` File for Store API URL and Auth KEY
```sh
mkdir -p $HOME/sanpush
nano $HOME/sanpush/config.yaml
```
```yaml
bearer_token: your_secret_api_key
api_url: http://localhost:8000
```
- Execute the Script
```sh
go run sanpush.og -h
```
## Build Package
- Run Make file to build a package for your Systems
```sh
make build
```
## Packges Build for
Linux, Apple, Windows and Android - `/makefile`
- Linux-386
- Linux-arm-7
- Linux-amd64
- Linux-arm64
- Andriod-arm64
- windows-386
- windows-amd64
- darwin-amd64
- darwin-arm64
```sh
chmod +x sanpush
./sanpush -h
```
## API
Deno Webhook Server is a real-time server application built using Deno. It supports WebSocket connections for real-time updates it includes endpoints for triggering reloads and retrieving messages - ****
## LICENSE
MIT