Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.32 KB

README.md

File metadata and controls

59 lines (37 loc) · 1.32 KB

wcc

Build Status GoDoc apache license

WebChangeChecker (wcc) is a command-line tool which checks whether a website is changed or not, written by golang.

  • Manage more then one website
  • Notify to your slack incoming webhook when the websites have updated
  • Could check only the part of a website page by specifing the css selector (you could get this from Chrome Development Tool)

Install

$ go get github.com/oirik/wcc

Or download binaries from github releases

Usage

Add checking website

$ wcc add {url} ({css-selector})

if you didn't set css-selector, the whole page is checked.

Check website updated

$ wcc check

if you want to notify slack,

$ wcc check -slack {slack-incoming-webhook-url}

As wcc is the on-demand command-line tool, if you want to check regularly, you would register this command to linux cron or windows task scheduler.

List checking websites

$ wcc list

Remove checking website

$ wcc list  # check the No. of removing
$ wcc rm {No.}