Look at our Slack (LaoS)
A slack app which exposes one channel to a websocket so people can read allong on your website. Only read rights, no interaction back. Features
- Reads from one slack channel
- Pure websockets
- Simple markup and Emoij parsing
- Delete and edit events from slack are honoured
- De-duplication of messages
- In memory persistance
- Handeling of links
- Percistance of messages to Azure storage
- Account system for adding new channels :D
Developed
Developed on dotNetCore 1.1 with Nancy FX It uses part Nancy, part custom middleware for the websockets. Storage is done with Azure storage, see the using the code section for instructions
Using the code
Feel free to fork or critique my work, it's just a hobby project :D When using please add this appsettings.json your self with your own key and account;
{
"storageKey": "the one from azure",
"storageAccount": "the one from azure",
"slackClientId": "the one from slack app",
"slackClientSecret": "the one from slack app"
}
Deployment to Zeit
On windows machines please use the release.ps1, on linux.. please enter the commands your self After release clean up the old code by first
- now ls (list all deployments)
- now alias {new deployment} laos
- now rm {oldest deployment} If you want send me tips on how to improve this
TODO
- Handeling of images
- Handeling of reactions on a message
- Handeling of other attachements
- propper styling and JS code (frontend optimalisation)
- Simple Interaction mode