# webhash **Repository Path**: xuender/webhash ## Basic Information - **Project Name**: webhash - **Description**: 网页摘要计算, 使用 HighwayHash 算法 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: utils **Tags**: None ## README # Webhash 网页摘要计算, 使用 [HighwayHash](https://github.com/google/highwayhash) 算法 ## 安装 curl ```shell sh -c "$(curl -fsSL https://github.com/xuender/webhash/raw/master/install.sh)" ``` wget ```shell sh -c "$(wget -O- https://github.com/xuender/webhash/raw/master/install.sh)" ``` ## 增加摘要网页 ```shell webhash add https://api.github.com/repos/golang/go/milestones/72 ``` ## 检查网页内容修改 ```shell webhash check # 或者 webhash ``` ## 更新网页摘要 ```shell webhash update ``` ## 监视网页修改 ```shell webhash watch ``` ## 定时执行 设置定时任务 `crontab -e` ```shell # 每小时执行一次 0 * * * * ${HOME}/bin/webhash watch ```