Swiftpack.co - Package - dokun1/slackin-swift

Powered by IBM Cloud Pods Version Carthage Compatible Standard README Compliant MIT License

Create a landing page invited for a Slack instance you want people to join.

Heavily inspired, obviously, by slackin.

Want to see it working live? Go here, which is an inviter to my Weekly Peer Lab in Austin, Texas.


  • Swift 4.2
  • macOS 10.13 / Ubuntu 14.04
  • Xcode 10.1
  • a Slack legacy token - get one for your org here.
  • Cloud Foundry container on IBM Cloud with at least 128MB of application memory


See the contribute file!

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

Building the Project

  1. Clone this repo.
  2. From the root directory, run swift build.
  3. From the root directory, run swift package generate-xcodeproj.

Running in Xcode

  1. Create a file in your ~/Documents directory called slackkey.txt.
  2. For the slack you want to run this with, make the only contents of that file the legacy slack token you are working with.
  3. Save the file.

When you run this in Xcode, if you don't provide a token as a command line argument, it will search for this file and read it, and use that. You can debug on main.swift to see what it's doing.

If you run this from the command line, you'll want to run:

.build/debug/slackin-swift **insert token here**

Running in Docker

There is a run script provided with the repository titled runDocker that utilizes a local Dockerfile for running the app, and Dockerfile-tools for building the app. The script takes one parameter, so execute the script like so:

./runDocker **insert token here**

Note that, in the script, the names of the images created can be modified, but everything is consistently named for the sake of simplicity.

Deploying to Cloud Foundry

  1. Set up a Cloud Foundry Swift application.
  2. Use the IBM Cloud CLI to target the right organization.
  3. Use the command ibmcloud app push -c 'slackin-swift **your token here**' to deploy.

Deploying to Kubernetes with Docker

Coming soon...


MIT © 2019 David Okun


Stars: 30
Help us keep the lights on

Used By

Total: 0


0.3.1 - Jun 9, 2018

  • performance improvements via caching

0.2 - Apr 22, 2018

  • improved UI

0.1 - Apr 20, 2018