Skip to content
Clean up your comments on any SE site
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SECommentHoover
.gitignore
LICENSE
README.md
SECommentHoover.sln

README.md

SE Comment Hoover

Run daily to clean up your comments on any SE site.

Usage

It expects 4 values to be injected as environment variables:

  • SE_NETWORK_SITE: The site to run against, like "stackoverflow".
  • KEY: The key generated when you register your app on StackApps.
  • ACCESS_TOKEN: The access token generated when you visit: "https://stackoverflow.com/oauth"
  • MS_BETWEEN_API_CALLS: The milliseconds between API calls. They say >30/sec is "very abusive", so I'd stick to 100ms or so...

If you're just going to run it locally, you could inject the values in the Main method:

Environment.SetEnvironmentVariable("SE_NETWORK_SITE", "stackoverflow");
Environment.SetEnvironmentVariable("ACCESS_TOKEN", "abcDefGhIJklmnoPqr))");
Environment.SetEnvironmentVariable("KEY", "soMEKeyVaLUe((");
Environment.SetEnvironmentVariable("MS_BETWEEN_API_CALLS", "1000");
You can’t perform that action at this time.