All Projects → krzyzanowskim → Onlineswiftplayground

krzyzanowskim / Onlineswiftplayground

Licence: other
Online Swift Playground

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Onlineswiftplayground

Vapor Oauth
OAuth2 Provider Library for Vapor
Stars: ✭ 90 (-53.12%)
Mutual labels:  server-side-swift
Vapor Auth Template
A Vapor 4 template with authentication, Fluent, JWT, Queues, repository pattern, testing and more.
Stars: ✭ 118 (-38.54%)
Mutual labels:  server-side-swift
Mysql Swift
A type safe MySQL client for Swift
Stars: ✭ 148 (-22.92%)
Mutual labels:  server-side-swift
Vaporsecurityheaders
Harden Your Security Headers For Vapor
Stars: ✭ 107 (-44.27%)
Mutual labels:  server-side-swift
Open Crypto
🔑 Hashing (BCrypt, SHA2, HMAC), encryption (AES), public-key (RSA), and random data generation.
Stars: ✭ 115 (-40.1%)
Mutual labels:  server-side-swift
Backend
Backend is responsible to provide data to EVOlution App - iOS
Stars: ✭ 123 (-35.94%)
Mutual labels:  server-side-swift
Vapor Clean
A Vapor 3 template with no additional cruft.
Stars: ✭ 80 (-58.33%)
Mutual labels:  server-side-swift
Websocket Kit
WebSocket client library built on SwiftNIO
Stars: ✭ 155 (-19.27%)
Mutual labels:  server-side-swift
Venice
Coroutines, structured concurrency and CSP for Swift on macOS and Linux.
Stars: ✭ 1,501 (+681.77%)
Mutual labels:  server-side-swift
Api Template
💧 A starting point for Vapor APIs.
Stars: ✭ 130 (-32.29%)
Mutual labels:  server-side-swift
Perfect Mysql
A stand-alone Swift wrapper around the MySQL client library, enabling access to MySQL servers.
Stars: ✭ 108 (-43.75%)
Mutual labels:  server-side-swift
Sql Kit
*️⃣ Build SQL queries in Swift. Extensible, protocol-based design that supports DQL, DML, and DDL.
Stars: ✭ 115 (-40.1%)
Mutual labels:  server-side-swift
Flock
Automated deployment of Swift projects to servers
Stars: ✭ 127 (-33.85%)
Mutual labels:  server-side-swift
Perfect Notifications
Apple Push Notifications (APNs) Server-Side library.
Stars: ✭ 100 (-47.92%)
Mutual labels:  server-side-swift
Swift Cluster Membership
Distributed Membership Protocol implementations in Swift
Stars: ✭ 149 (-22.4%)
Mutual labels:  server-side-swift
Jsoncore
A Swift JSON parser that doesn't need Objective-C bridging and doesn't depend on Foundation
Stars: ✭ 86 (-55.21%)
Mutual labels:  server-side-swift
Hexaville
The modern serverless web application engine and framework for Swift
Stars: ✭ 123 (-35.94%)
Mutual labels:  server-side-swift
Mysql Kit
🐬 Pure Swift MySQL client built on non-blocking, event-driven sockets.
Stars: ✭ 159 (-17.19%)
Mutual labels:  server-side-swift
Zewo
Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines.
Stars: ✭ 1,856 (+866.67%)
Mutual labels:  server-side-swift
Mistkit
Swift Package for Server-Side and Command-Line Access to CloudKit Web Services
Stars: ✭ 129 (-32.81%)
Mutual labels:  server-side-swift

SwiftPlayground.run

Platform Twitter

Online Swift Playground. Implemented in Swift.

TBA. Checkout http://SwiftPlayground.run

SwiftPlayground.run

Installation & Run

$ git clone https://github.com/krzyzanowskim/OnlineSwiftPlayground.git
$ cd OnlineSwiftPlayground
$ ./run.sh

The run.sh script will generate Xcode project (on macOS) and bootstrap the environment. run.sh needs npm to be installed to work properly. Bootstraping involves

  1. Download Swift Toochains supported by the playground
  2. Pre-build support module using the toolchains
  3. Install dependencies
  4. Launches web server on localhost on port 8080

Now you could access playground pointing web browser to 127.0.0.1:8080.

Development

Xcode

Generate Xcode project

$ swift package generate-xcodeproj

React

Web user interface is build with React and webpack.

$ npm run build

Docker

krzyzanowskim/onlineswiftplayground

Download the latest image:

$ docker pull krzyzanowskim/onlineswiftplayground

or build docker image by yourself:

$ git clone https://github.com/krzyzanowskim/OnlineSwiftPlayground.git
$ cd OnlineSwiftPlayground
$ docker build . -t krzyzanowskim/onlineswiftplayground

then run container:

$ docker run -d -p 8080:8080 --name onlineswiftplayground -t krzyzanowskim/onlineswiftplayground

and wait until docker container is up (usually several seconds).

Playground is available at http://localhost:8080. If the docker setup uses VirtualBox, the you can get the IP address from docker-machine ip command.

$ open http://$(docker-machine ip):8080

Config

Third party frameworks should be copied to Frameworks directory (Frameworks are for macOS host only)

See config/ for GitHub auth. sample config.

Author

SwiftPlayground.run is owned and maintained by Marcin Krzyzanowski

You can follow me on Twitter at @krzyzanowskim for project updates and releases.

License

Creative Commons Attribution Non Commercial 4.0. See LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].