Giter Site home page Giter Site logo

submissions's Introduction

Submission Counter

Display the number of submissions to a moodle submission point in the terminal.

Build

Build the docker image locally:

docker build --rm -t submissions:latest -f Dockerfile .

Run

Run the docker image, giving the 3 expected commands:

  • Assignment ID: The ID for the assignment's moodle page typically found as a param in the submission point's URL. For example, the submission page https://modules.lancaster.ac.uk/mod/assign/view.php?id=123456 would mean the relevant ID value is 123456.
  • Moodle Cookie: Your session cookie for moodle to be extracted from a web browser where you are signed into moodle (specifically to an account where you have permission to see the associated submission page). The value for this should be the cookie value for the key cosign-https-modules.lancaster.ac.uk.
  • Figlet Font: The font to use from figlet when displaying the output.
docker run --rm -it submissions:latest <id> <cookie> <font>

For live data, just use the above command prefixed with watch -t (by default this is updated every 2 seconds).

How it looks

picture of ascii art of submissions


This is all super jank. If you are reading this, too late, fixing this is your responsibility now.

submissions's People

Contributors

mavi0 avatar willfantom avatar

Stargazers

 avatar

Watchers

Haris Rotsos 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.