librariesio/swift-package-converter

Name: swift-package-converter

Owner: Libraries.io

Description: API to convert Package.swift files into JSON

Forked from: DanToml/swift-package-converter

Created: 2017-02-08 13:05:44.0

Updated: 2017-05-06 04:29:36.0

Pushed: 2017-12-06 10:19:17.0

Homepage: null

Size: 44

Language: Swift

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

swift-package-converter

API to convert Package.swift files into JSON

Runs on http://swiftpm.honza.tech.

:rocket: Endpoints

POST /to-json
GET /swift-version

:zap: Installation

Since the above server might go away at any point, without warnings, please deploy the converter on your own server if you're relying on it.

Local

For running locally, just

t build
ld/debug/App //launches server on port 8080

Server

I recommend using Docker, with which the installation steps on a server are:

This will launch and bind the server to port 80 on the server.

(If you have ideas of improving the deployment steps with Docker, please PR it, I'm new to Docker.)

:gift_heart: Contributing

Please create an issue with a description of your problem or open a pull request with a fix.

:v: License

MIT

:alien: Author

Honza Dvorsky - http://honzadvorsky.com, @czechboy0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.