Code Monkey home page Code Monkey logo

dani3l0 / librusik Goto Github PK

View Code? Open in Web Editor NEW
27.0 0.0 4.0 12.28 MB

Fancy, self-hosted Librus Synergia web client with many cool features. Those include independent average calculation, countdowns, messages, attendances %% calculation and many more.

Home Page: https://dani3l0.github.io/librusik/

License: MIT License

HTML 24.44% Python 41.83% CSS 12.12% JavaScript 21.02% Shell 0.40% Dockerfile 0.20%
librus librus-synergia synergia synergialibrus school szkola aiohttp education python

librusik's Introduction

Preview photo

Check out the wiki for more detailed information!


Features

The coolest ones:

📋 Grades with independent average calculation - works even if school has disabled it

✉️ Messages with downloading attachments

Attendances with per-semester per-subject frequency %% calculation

🏠 School free days with countdown to next holiday

🍪 Cookies - you won't be logged out each time you close the browser

🧹 Grades cleanup - removes subjects without grades from Grades page

⌛ Cool countdown gauges on home screen

🌙 Dark theme

🎉 Confetti


Installation

1. Clone the repo:

git clone https://github.com/dani3l0/librusik && cd librusik

2. Install required dependencies:

pip install -r requirements.txt

3. And, finally run it:

python3 librusik.py

Done! Librusik is now running at localhost:7777.


Configuration

Go to localhost:7777/panel to manage your Librusik instance. Default user is admin and password is admin.

Interface is friendly enough to painlessly configure your Librusik instance.


Reporting a bug

Feel free to open new issues when something doesn't work or you want to ask for new features/improvements.

If you encounter a bug, remember to attach some logs (exception traceback or just a detailed description).

Also, ping me somewhere so we can test whether fixes work as intended as I have no access to Librus anymore.


Some other words

Because this was my first app written in Python, code is a terrible mess. Don't expect it to be super readable and flexible.

It just works (It actually worked since 2019 xD)

librusik's People

Contributors

dani3l0 avatar krzysckh avatar sildcave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

librusik's Issues

Teacher free days traceback

Przy próbie odpalenia nieobecności nauczycieli, wyrzuca błąd:

Traceback (most recent call last):
File "C:\Users\czerw\Downloads\librusik-stable\librusik-stable\librusik.py", line 881, in teacherfreedays
result = (await librus.get_teacher_free_days())[::-1]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\czerw\Downloads\librusik-stable\librusik-stable\lib\api\librus.py", line 208, in get_teacher_free_days
i["Teacher"] = teachers[i["Teacher"]["Id"]]
^^^^^^^^^^^^^^^^^^^^
KeyError: 2020133

Zrzut ekranu 2023-11-28 101851

Język

Wersja w języku polskim?

Contact

Hello, could you please put me in touch with you or add me on discord amx#1312 because I have some problems and questions.

NIie odpala

C:\Users\x\Desktop\librusik>python librusik.py
Traceback (most recent call last):
  File "C:\Users\x\Desktop\librusik\librusik.py", line 18, in <module>
    from lib.utils import *
  File "C:\Users\x\Desktop\librusik\lib\utils.py", line 112, in <module>
    statvfs = os.statvfs(".")
AttributeError: module 'os' has no attribute 'statvfs'
C:\Users\x\Desktop\librusik>python --version
Python 3.10.6

https://docs.python.org/3.10/library/os.html?highlight=statvfs#os.statvfs
Ta funkcja jest dostępna tylko na "unixowych" os, a z tego co mi wiadomo ma być to cross platform aplikacja.

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.