Popularity
1.2
Declining
Activity
0.0
Stable
55
1
2

Programming language: Swift
License: MIT License
Tags: Utility    

Swiftbot alternatives and similar libraries

Based on the "Utility" category.
Alternatively, view Swiftbot alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Swiftbot or a related project?

Add another 'Utility' Library

README

Swiftbot

Swiftbot on slack. Inspired by kishikawakatsumi/swift-compiler-discord-bot

Usage

$ swiftbot --token xoxb-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxxxxxx

Setup Example

Ubuntu 18.04

install dependences

sudo apt update

sudo apt upgrade

sudo apt install clang libicu-dev libpython-all-dev libssl1.0-dev

// Docker install

curl -fsSL get.docker.com -o get-docker.sh

sudo sh get-docker.sh

// Swift install

wget https://swift.org/builds/swift-4.2.1-release/ubuntu1804/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu18.04.tar.gz

tar xvfz swift-4.2.1-RELEASE-ubuntu18.04.tar.gz

sudo mv swift-4.2.1-RELEASE-ubuntu18.04 /usr/local/swift

// export PATH

  • Ex: /usr/local/swift/usr/bin/

Swiftbot build

git clone [email protected]:noppefoxwolf/Swiftbot.git

// Make Docket image

cd Docker

sudo docker build -t kishikawakatsumi/swift:4.2.1 .

// Build and install Swiftbot

swift build -c release

mv ./.build/x86_64-unknown-linux/release/Swiftbot /usr/local/bin/swiftbot

Add Service

sudo vim /etc/systemd/system/swiftbot.service
[Unit]
Description = Swift bot

[Service]
ExecStart = /usr/local/bin/swiftbot --token "<<TOEKN>>"
Restart = always
Type = simple

[Install]
WantedBy = multi-user.target
sudo systemctl enable swiftbot

sudo reboot

License

Swiftbot is released under the MIT license. See LICENSE for details.

Dockerfile, run.sh and script.sh by https://github.com/kishikawakatsumi/swift-playground


*Note that all licence references and agreements mentioned in the Swiftbot README section above are relevant to that project's source code only.