{"id":19489620,"url":"https://github.com/brackendev/seasideswift","last_synced_at":"2026-02-17T14:34:36.920Z","repository":{"id":37386273,"uuid":"190699069","full_name":"brackendev/SeasideSwift","owner":"brackendev","description":"A cross-platform Swift web code runner","archived":false,"fork":false,"pushed_at":"2022-06-21T06:22:38.000Z","size":375,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T15:51:26.423Z","etag":null,"topics":["bootstrap4","code-runner","cross-platform","linux","macos","pharo","playground","seaside","smalltalk","swift","teapot","ubuntu"],"latest_commit_sha":null,"homepage":"http://bracken.dev/","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brackendev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-07T06:39:22.000Z","updated_at":"2023-08-21T11:26:47.000Z","dependencies_parsed_at":"2022-09-15T00:10:48.152Z","dependency_job_id":null,"html_url":"https://github.com/brackendev/SeasideSwift","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/brackendev/SeasideSwift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brackendev%2FSeasideSwift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brackendev%2FSeasideSwift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brackendev%2FSeasideSwift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brackendev%2FSeasideSwift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brackendev","download_url":"https://codeload.github.com/brackendev/SeasideSwift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brackendev%2FSeasideSwift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29547465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap4","code-runner","cross-platform","linux","macos","pharo","playground","seaside","smalltalk","swift","teapot","ubuntu"],"created_at":"2024-11-10T21:09:23.284Z","updated_at":"2026-02-17T14:34:36.885Z","avatar_url":"https://github.com/brackendev.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"SeasideSwift\n============\n\n**A cross-platform Swift web code runner served by [Seaside](https://github.com/SeasideSt/Seaside) on [Pharo](https://www.pharo.org/).**\n\nSimilar commercial implementations are used at [Replit](https://repl.it) and [OnlineSwiftPlayground.run](http://onlineswiftplayground.run).\n\n* [Pharo 8](https://www.pharo.org/) reference platform.\n* Requires:\n   * macOS (tested with 10.15.4) ***or*** GNU/Linux (tested with Ubuntu 14.04, 64 bit).\n   * Swift tools (see _Installation_ below).\n\n## Screenshots\n\n#### macOS\n\n![Screenshot](images/screenshot1.png)\n\n#### GNU/Linux\n\n![Screenshot](images/screenshot2.png)\n\n## TODO\n\n- [ ] Support the latest Pharo release.\n\n## Installation\n\n1. Install and setup the Swift tools for your environment:\n    * **macOS:** Install the [Command Line Tools for Xcode](https://developer.apple.com/download/more/?=command%20line%20tools).\n    * **GNU/Linux:** [Install Swift](https://www.swift.org/getting-started/#installing-swift) from [swift.org](https://www.swift.org/).\n2. In a Playground, _Do It_:\n\n    ```smalltalk\n    Metacello new \n      repository: 'github://brackendev/SeasideSwift:v1.0.0/src';\n      baseline: 'SeasideSwift';\n      onConflict: [ :ex | ex useIncoming ];\n      onUpgrade: [ :ex | ex useIncoming ];\n      onDowngrade: [ :ex | ex useLoaded ];\n      load.\n    ```\n\n## Usage\n\nIn a Playground, _Do It_:\n\n```smalltalk\n\"Start the service\"\nSeasideSwift shared start.\n```\n\n```smalltalk\nWebBrowser openOn: 'http://127.0.0.1:8080/SeasideSwift/'.\n```\n\n```smalltalk\n\"Stop the service\"\nSeasideSwift shared stop.\n```\n\nAdditionally, HTTP POST requests are supported with [Teapot](https://github.com/zeroflag/Teapot). For example, the following curl command returns `Hello, World!`.\n\n```bash\ncurl -X \"POST\" \"http://127.0.0.1:8081/swift\" \\\n-H 'Content-Type: text/plain; charset=utf-8' \\\n-d \"print(\\\"Hello, World!\\\")\"\n```\n\n## Acknowledgements\n\nThis project makes use of the following third-party libraries:\n\n* [Seaside](https://github.com/SeasideSt/Seaside)\n* [Seaside-Bootstrap4](https://github.com/astares/Seaside-Bootstrap4)\n* [SwiftPlayground-Pharo](https://github.com/brackendev/SwiftPlayground-Pharo)\n* [Teapot](https://github.com/zeroflag/Teapot)\n* [Zinc HTTP Components](https://github.com/svenvc/zinc)\n\n## Author\n\nBracken Spencer\n\n* [GitHub](https://www.github.com/brackendev)\n* [LinkedIn](https://www.linkedin.com/in/brackenspencer/)\n* [Twitter](https://twitter.com/brackendev)\n\n## License\n\nSeasideSwift is released under the MIT license. See the LICENSE file for more info.\n\n- - -\n\n## Useful Links\n\n* [@pharoproject](https://twitter.com/pharoproject) [Twitter]\n* [@swiftlang](https://twitter.com/SwiftLang) [Twitter]\n* [pharo.org](https://www.pharo.org/)\n* [swift.org](https://www.swift.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrackendev%2Fseasideswift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrackendev%2Fseasideswift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrackendev%2Fseasideswift/lists"}