16

teacher substitution schedule ios app.

Project Type
Existing open source project
Summary

teacher substitution schedule ios app.

Description
I had this project going now for a few months but I didn’t really worked on it, because I’m a beginner and hat issues I couldn’t solve. It should fetch the data using a node.js server app but i’m open to other languages. (packages: firebase-admin, jsdom) It should sent every morning a notification with the schedule for your class.
Tech Stack
node.js, swift,
Current Team Size
2
URL
Comments
  • 0
    When I get home, I’ll grab the link and see if I can help any...
  • 0
  • 0
    @IMDownerzac i’ll post some issues when i get home :)
  • 0
  • 0
    I would avoid using JS
  • 1
    @n3xus I focus on swift because maybe you could direct access to the data at the school and wouldn’t need to write a scraper
  • 0
    Honestly it would work better if there was a real time database (like firebase) but that would require every school using the app to upload. I mean I guess it works if it’s just for one school, but it doesn’t exactly scale well
  • 0
    @IMDownerzac it uses Firebase
  • 0
    I actually wanted to do exactly the same for my school, but after some thinking, I figured out it would be easier and better to make a Telegram bot instead of the app. Advantages are:
    Cross platform for iOS and Android (and even desktop)
    Ridiculously easy to write
    With an inline call you can easily send substitutions to someone to tell them
    Add the bot to a class group and everyone gets the notification

    I got the data by scraping a html table that my school did provide on their homepage. Is yours Untis?
  • 0
    @MatiasConTilde yeah, do you have a repo of the bot? If so which Lang is it written in?
  • 0
    @MatiasConTilde Are you German?
    And could you give me some kinda explanation how the database should be structured for the bot to work?
  • 0
    @bcye Sorry for taking so long to reply
    The code is a real very big mess, so I'd rather not publish it, but I'm rewriting everything from zero. It's written in node.js with the node-telegram-bot-api library. To get the information, I scrape the HTML table with tabletojson on npm. I used Firebase for the database, but it's actually not a very good idea, and something simple like lowdb is quite enough. There I sotred the "accounts" of the people using it, just their Telegram ID, their class and time they want to get notified. Then I check every minute if now it's the time of someone, and send them the substitutions that person has right now from the scraped table.
  • 0
    @MatiasConTilde I tried it out to apply on my school, but didn’t work, can I help rewriting?
Add Comment