Skip to content

About

A user-friendly terminal-based event management CLI for school coordinators to manage registrations, verify payments, detect duplicates, and export participant data.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

School Event Manager (SEM) CLI

A user-friendly terminal-based event management CLI for school coordinators to manage registrations, verify payments, detect duplicates, and export participant data.

⭐ New Features

📧 Automatic Email Confirmations

Send personalized confirmation emails to participants when payments are verified. Supports Gmail, Outlook, and any SMTP server.

📊 Google Sheets Import

Fetch registrations directly from Google Sheets - perfect for importing form responses automatically.


Quick Start

npm start

That's it! This starts the interactive mode with easy menus.

Installation

Clone the Repository

git clone https://github.com/atharv-docs/School-Event-Manager---Terminal-Based.git
cd School-Event-Manager---Terminal-Based

Install Dependencies

npm install

Link the CLI (Optional)

npm link

This allows you to run sem from anywhere.

How to Use

Interactive Mode (Recommended)

Simply run:

npm start

You'll see a menu where you can:

  • Create events
  • Add registrations
  • Import from CSV/JSON
  • Fetch from Google Sheets
  • View and update payments
  • Find duplicates
  • Configure email confirmations
  • Export data

Just type the number and press Enter!

Command-Line Mode

For advanced users who prefer commands:

# Initialize
npm start init

# Create event
npm start event create "Tech Fest 2026" -d 2026-06-15 -f 250

# Add registration
npm start register add "John Doe" "john@example.com" -t "Team Alpha"

# View registrations
npm start register list

📧 Email Confirmation (New!)

Automatically send confirmation emails when payments are verified.

Setup

Interactive Mode:

Menu → Email Settings

Then enter your SMTP details.

Command Line:

sem config email

Gmail Setup

  1. Go to your Google Account
  2. Enable 2-Factor Authentication
  3. Go to Security → App Passwords
  4. Create a new app password
  5. Use that password when configuring email

SMTP Settings

Provider Host Port SSL
Gmail smtp.gmail.com 587 No (TLS)
Outlook smtp.office365.com 587 No (TLS)
Yahoo smtp.mail.yahoo.com 587 No (TLS)

📊 Google Sheets Import (New!)

Import registrations directly from a Google Sheet.

Setup

  1. Create a Google Sheet with columns: Name, Email, Phone, Team, Category
  2. Share the sheet with your service account (give "Viewer" access)
  3. Get the spreadsheet ID from the URL
  4. Download your service account credentials JSON from Google Cloud

Interactive Mode:

Menu → Fetch from Google Sheets

Command Line:

sem config sheets

Then enter:

  • Path to credentials JSON file
  • Spreadsheet ID (from URL)
  • Range (default: Sheet1!A:Z)

Expected Sheet Format

Name Email Phone Team Category
John Doe john@example.com 9876543210 Code Warriors Programming
Jane Smith jame@example.com 9876543211 Tech Titans Robotics

Importing Data

CSV Format

Create a CSV file like this:

Name,Email,Phone,Team,Category
John Doe,john@example.com,9876543210,Code Warriors,Programming
Jane Smith,jane@example.com,9876543211,Tech Titans,Robotics

Payment Verification File

email,paymentId,date
john@example.com,TXN001,2026-05-15

Interactive Mode Features

Feature Description
🎪 Events Create, switch between, and delete events
👥 Registrations Add manually or import from CSV/JSON
📊 Google Sheets Fetch directly from Google Sheets
💳 Payments Mark payments, bulk verify, view status
📧 Email Configure automatic confirmations
🔍 Duplicates Auto-detect and merge duplicates
📤 Export Generate lists and export to CSV/JSON

Data Storage

All data is stored locally in ~/.sem/:

  • ~/.sem/config.json - Active event
  • ~/.sem/data/events.json - Event data
  • ~/.sem/data/registrations.json - Registration data
  • ~/.sem/email-config.json - Email settings
  • ~/.sem/google-config.json - Google Sheets settings

Requirements

  • Node.js 18+

License

ISC

About

A user-friendly terminal-based event management CLI for school coordinators to manage registrations, verify payments, detect duplicates, and export participant data.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages