Git Product home page Git Product logo

librus_todoist's Introduction

librus_todoist

Script that allows to sync Librus (biggest polish online gradebook) messages to Todoist's Inbox. Preview Because attendance in my school during COVID outbreak is mandatory and based on whether we read messages durning lessons, this script makes them read and syncs them to Todoist's Inbox, the service that I use to manage my tasks. Then I can sometimes review them for tasks and mark as completed. This makes everything so easier!

Based on brilliant LibrusTricks library by @kpostekk and todoist-python.

Setup

This requires Librus Portal account connected to Librus Synergia account and same password for both accounts! You also need premium account on Todoist to get messages' content as a comment in task. There is, hovewer, a free trial available and 70% student discount. You need python3 and pipenv installed.

  1. Create .env file based on .env.example (you may need to turn on hidden files visibility).
LIBRUS_USERNAME=kontolibrusportal
LIBRUS_PASSWORD=kochamlibrus!
CALENDAR_URL=https://nextcloud.com/remote.php/dav/
CALENDAR_USERNAME=admin
CALENDAR_PASSWORD=qweasd
CALENDAR_NAME=School
TODOIST_API_KEY=000000
  1. I use Pipenv to manage requirements so you need it installed. Then this creates virtual environment for you and installs all dependencies.
pipenv install
  1. On Libux add this to your crontab (you have to edit directory path), preferably using:
> crontab -e
*/5 * * * * cd /home/m4k5/librus_sync && /usr/local/bin/pipenv run python3 main.py messages >> /tmp/libr_mess.out

Windows and MacOS are supported, but you have to find out yourself how to set this up. I am not affilated with Librus in any way. You are using this at your own responsibility.

librus_todoist's People

Contributors

skica-dev avatar

Stargazers

 avatar  avatar

Watchers

 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.