Giter Site home page Giter Site logo

nollekollen-message-sender's Introduction

NolleKollen-message-sender

A simple script that allows you to send messages to the NolleKollen app programmatically.

Usage

casperjs send_message.js <username> <password> <path to message file>

If you want to schedule the sending of a message you can use the command at to schedule the execution of a bash script with the line above.

Dependencies

In order to run the script you need to have CasperJS installed globally on your machine.

Background

At the time of writing this script the NolleKollen app didn't have any way of scheduling the sending of messages, and it didn't have any API. I was tired of waking up early in the morning just to send a message, so I created this script in order to be able to schedule the sending of the message the evening before instead.

How it works

This script is uses CasperJS to simulate a user going to the NolleKollen website. It reads a message from a specified file, opens the NolleKollen webpage, logs in, goes to the messaging page, inputs the message and clicks send.

Disclaimer: This script was written in the summer of 2015, and it is highly possible that the NolleKollen website has changed since then. Feel free to fork this repo if you want to modify the script!

nollekollen-message-sender's People

Contributors

mhgbrg avatar

Stargazers

 avatar

Watchers

 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.