https://github.com/operatorfoundation/antiphony
A generic server library written in Swift
https://github.com/operatorfoundation/antiphony
Last synced: about 2 months ago
JSON representation
A generic server library written in Swift
- Host: GitHub
- URL: https://github.com/operatorfoundation/antiphony
- Owner: OperatorFoundation
- Created: 2023-01-10T01:26:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T19:19:54.000Z (over 1 year ago)
- Last Synced: 2025-12-26T15:09:45.349Z (6 months ago)
- Language: Swift
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Antiphony
### To generate new client / server configs ###
Antiphony uses the 'ArgumentParser' library to parse and execute command line arguments.
From the Antiphony directory in your macOS / Linux command line terminal;
• To see what subcommands you have available to you:
$ swift run
```
example print out
USAGE: antiphony
OPTIONS:
-h, --help Show help information.
SUBCOMMANDS:
new
run
See 'antiphony help ' for detailed help.
```
===
• To create new client / server configs:
$ swift run antiphony new
```
Wrote config to ~/antiphony-server.json
Wrote config to ~/antiphony-client.json
```
===
• To run the server:
$ swift run antiphony run
```
...
Server started 🚀
Server listening 🪐
...
```