Ce projet permet d'obtenir un lien d'abonnement à son calendrier UPHF grâce à un hébergement sur Vercel.
Vercel sert le fichier .ics aux calendriers (Apple Calendar, Google Calendar, etc).
Si vous souhaitez obtenir le lien d'abonnement de votre propre emploi du temps, suivez les étapes ci-dessous :
- Fork ce projet
- Rendez-vous sur https://vercel.com et connectez-vous avec GitHub (Un compte gratuit "Hobby" est suffisant)
- Créez un nouveau projet et séléctionnez votre répertoire github correspondant au fork de ce projet.
- Dans la partie Variables d'envrionnement, mettez :
- username : {votre_nom_utilisateur_uphf}
- password : {votre_mot_de_passe_uphf}
⚠️ Les clés (username & password) ne doivent pas contenir d'erreur d'orthographe
- Déployez le projet
Ensuite, l'interface vous montrera un lien ressemblant à : uphf-schedule-exporter.vercel.app
Pour l'importer dans votre calendrier, l'URL est : {votre_lien_vercel}/calendar.ics (Exemple : uphf-schedule-exporter.vercel.app/calendar.ics)
This project allows you to get a calendar subscription link for your UPHF schedule, hosted on Vercel.
Vercel serves the .ics file to calendar apps (Apple Calendar, Google Calendar, etc.).
If you want to get your personal UPHF schedule subscription link, follow these steps:
- Fork this project
- Go to https://vercel.com and sign in with GitHub (A free "Hobby" account is sufficient)
- Create a new project and select your forked repository
- In the Environment Variables section, set:
- username: {your_uphf_username}
- password: {your_uphf_password}
⚠️ Make sure the keys (username & password) are spelled correctly
- Deploy the project
After deployment, the interface will show you a link like: uphf-schedule-exporter.vercel.app
To import it into your calendar, use the URL: {your_vercel_link}/calendar.ics (Example: uphf-schedule-exporter.vercel.app/calendar.ics)
Code forked and adapted by Charles Massuard to work with Vercel
This projet is under MIT licence.