CasperCBroeren / LaoS

Look at our Slack

Home Page:http://laos.now.sh/main/test?for=T4P3WMHLY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. now ls (list all deployments)
  2. now alias {new deployment} laos
  3. now rm {oldest deployment} If you want send me tips on how to improve this

TODO

  1. Handeling of images
  2. Handeling of reactions on a message
  3. Handeling of other attachements
  4. propper styling and JS code (frontend optimalisation)
  5. Simple Interaction mode

Thanks to

About

Look at our Slack

http://laos.now.sh/main/test?for=T4P3WMHLY


Languages

Language:C# 75.4%Language:HTML 13.5%Language:CSS 10.7%Language:PowerShell 0.5%