Code Monkey home page Code Monkey logo

go_slack_bot's Introduction

go 웹 크롤러 슬랙 봇

go로 만든 슬랙 크롤러 봇입니다. 사용한 라이브러리는 아래와 같습니다.

  1. slack interactive message
  2. PuerkitoBio/goquery
  3. dghubble/go-twitter
  4. dghubble/oauth1
  5. github.com/mmcdole/gofeed
  6. nlopes/slack
  7. google/go-github/github
  8. golang.org/x/oauth2

vendor 가 잘 안 먹을 시 실행하세요.

go get -u github.com/PuerkitoBio/goquery
go get -u github.com/dghubble/go-twitter/twitter
go get -u github.com/dghubble/oauth1
go get -u golang.org/x/oauth2
go get -u github.com/google/go-github/github
go get -u github.com/nlopes/slack
go get -u github.com/mmcdole/gofeed
go get -u github.com/parnurzeal/gorequest

또 아래 분의 샘플에서 기본 틀을 얻었습니다.

tcnksm/go-slack-interactive


사용법

기본적으로 go돌이 @it_trend_go3 에게 멘션을 해야 답을 줍니다.

날씨 입력 시 키워드에 따라 오늘, 내일, 모레의 날씨를 알려줍니다.

기사, 뉴스, 소식 입력 시 최신 IT기사를 크롤링합니다.

오키, 옼희 입력 시 오키의 기술 게시글을 크롤링합니다.

트위터, 트윗, twitter 입력 시 트위터를 크롤링합니다.

무료, 공짜 책 입력 시 오늘의 packt 무료 서적을 알려줍니다.

행사, 이벤트 입력 시 인터파크 임직원 대상 이벤트를 알려줍니다.

업무시간 매시 알림 기능이 있습니다

아침 10시 : 오늘의 무료 책
점심 12시 : 점심시간 알림
오후 5시 : 내일 날씨 알림
오후 6시 : 퇴근알림

go_slack_bot's People

Contributors

sinramyeon avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.