Skip to content

AYIKxD/Cyber_Vidya_Attendance_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

CyberVidya Attendance Bot

Automated attendance tracker for CyberVidya. Runs every 6 minutes via GitHub Actions, checks for attendance changes, and sends Telegram notifications.

Setup

1. Get Your Auth Token

  1. Login to kiet.cybervidya.net in your browser
  2. Open DevTools (F12) → ApplicationLocal Storagehttps://kiet.cybervidya.net
  3. Copy the values of authenticationtoken and auth_prefix

2. Set GitHub Secrets

Go to repo → Settings → Secrets and variables → Actions and add:

Secret Value
CV_AUTH_TOKEN Your authenticationtoken from localStorage
CV_AUTH_PREF Your auth_prefix from localStorage
TELEGRAM_BOT_TOKEN Your Telegram bot token from @BotFather
TELEGRAM_CHAT_ID Your Telegram chat ID from @userinfobot

3. Enable Actions

Go to repo → Actions and enable the workflow. It runs every 6 minutes automatically.

How It Works

  • Fetches your registered courses from the CyberVidya API
  • Compares with previous state to detect changes
  • Sends a Telegram notification with attendance status, percentage, and skip/attend calculations
  • Alerts if you're below 75% attendance

Token Expired?

If you get a 401 error, your token has expired. Repeat step 1 to get a fresh token and update the CV_AUTH_TOKEN secret.

About

Automated Cyber Vidya attendance tracker that monitors student attendance every 30 minutes via Telegram notifications. Features smart scheduling, attendance analytics, and professional reporting with IST timezone support.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages