An open API service indexing awesome lists of open source software.

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

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 🪐
...
```