Webwatch
github.com
github.com
This is a good example of why I didn't do this in the shell.
You could replace echo with sendmail to do that. Sorry if my point came across as callous to you
In relation to your tool, I think curl provides very many more features that are easily accessible through command flags than the limited subset of HTTP capabilities you expose (for example, basic auth or different set of headers). The same argument goes for mailing, setting headers or such.
With that said, tools that does one thing and does it well are the ones that gets used, personally I'd just prefer it to be function in <your-shell> instead :)
Secondly, at the moment you're just doing a straightforward string comparison on the <body> of a page[1]. It'd be more useful if I could define something like a DOM querySelector or a regexp. It'd also be useful to look in the header at that page title.
[1] At least, I think so. I've never used Go so that's just what I gather from reading the source.
I tend to default to "stick it on Github and see if it helps someone else".
Chrome: https://chrome.google.com/webstore/detail/page-monitor/pemhg...
Firefox: https://addons.mozilla.org/pt-br/firefox/addon/check4change/
To the point I'm jealous for a project that brings nothing new compared to so many other solutions, I suspect the author of the program needed to call up a website check for an event and get notified; s/he probably found this to be the motivation for building this much more than getting github stars. Other people found it useful as well, and maybe it is easier for people to grep this implementation and build on it than other crawlers.
Most broadly, bitcoin combines a lot of well understood and older technologies into something completely knew. It seems this was your gripe, the project didn't do that. I just want to point out complex coordination and reorganization of current libraries/practices/technologies can be quite useful, novel and interesting.
edit: I actually concur with the above post a bit more now. I do think things done in Go get a but over hyped and if this is what parent was referring to, I suspect s/he was correct even if a bit prickly in expressing it.
so there is that
Useful when you want to periodically check if a page changed - I already used a similar thing to get concert tickets before anyone else.
That being said, I feel like a browser extension might be more useful than a command line script, for this particular use case.
webwatch \
-url=https://example.com/privacy/ \
-warnmissing="never received a National Security Letter" \
-from=me@example.net \
-to=eff@eff.org"That's a great idea! I have no personal need for such a feature, but if you do and are able to submit a pull request, I'd be pleased to merge it."
Hi there,
https://news.ycombinator.com/item?id=10443814 looks good, but didn't
get much attention. Would you care to repost it? You can do so
here: https://news.ycombinator.com/repost?id=10443814.
Please use the same account (jgrahamc), title, and URL. When these match,
the software will give the repost an upvote from the mods, plus we'll
help make sure it doesn't get flagged.
This is part of an experiment in giving good HN submissions multiple
chances at the front page. If you have any questions, let us know. And
if you don't want these emails, sorry! Tell us and we won't do it again.
Thanks for posting good things to Hacker News,
DanielI can't help but wonder what the logic is there.
It seems like we're reaching a "web 3.0" which uses users to do the expensive bit of an intial sift but then the site admins edit/curate that into their own vision.
We're moving away from user driven content, back to curated content with user-sourcing.
As Jeff Atwood says about StackOverflow, it should be possible for a sufficiently privileged user to do just about anything staff can do.
Not really a new concept as /. had the notion of metamoderation, but a richer model with multiple levels of user.
That would of saved me a couple of minutes
And it also goes to twitter. And console. And MongoDB.
It took me 5 minutes.
(Below is JSON link to replicate what I did)