Coder Social home page Coder Social logo

url-stalker's Introduction

URL Stalker is a simple program that, simply put, stalks a URL and knows immediately when it changes. Every ten minutes (configurable), the program downloads the file and compares it to the old one. If it has changed, it emails all subscribers with a copy of the new file. It needs its own email address, and all interaction with it is performed by sending it pithy messages over email.

Pull requests and bug reports are welcome. I'll update this as I need it, but it's otherwise not being actively developed.

Setup

To set it up, check the source code out into a directory somewhere, then edit settings.py to your satisfaction. You will need to provide it an email address with SMTP and IMAP access. Gmail works well (in fact, this isn't tested with anything else!)

The general settings are:

  • stalked_file: The URL of the file to stalk
  • saved_name: URL Stalker keeps a timestamped copy of each version, with this base name.
  • wait_time: Time between email queries

Email specific settings are:

  • email_address: The URL Stalker's email address, used for "From" field
  • email_imap_server: The IMAP server to connect to
  • email_smtp_server: The SMTP server to connect to
  • email_password: Password to the SMTP and IMAP accounts
  • email_subject: Base subject to use ("URL Stalker" works)

You should also fill out the sysadmin_name and sysadmin_email fields so people can contact you if the need arises.

Use

Send a blank email with the subject SUBSCRIBE to the configured address; your address will be added to the mailing list. Likewise, send UNSUBSCRIBE to have your name removed.

url-stalker's People

Contributors

thirtythreeforty avatar

Watchers

James Cloos avatar  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.