Use it: https://workdaycal.vercel.app
This is a simple Next.js application that allows users to upload an Excel file (.xlsx) containing schedule information and converts it to an iCal file compatible with Google or Apple Calendar.
- Upload .xlsx files using a file input component
- Parse the schedule information from the Excel file
- Convert the schedule to an iCal file
- Download the generated iCal file
- Next.js
- React
- TypeScript
- Tailwind CSS
- DaisyUI
- XLSX.js
- ical-generator
- file-saver
- Node.js (v14 or later)
- npm or yarn
- Clone the repository:
git clone https://github.com/mayankrastogi02/ubc-workday-excel-to-ical
cd ubc-workday-excel-to-ical
- Install the dependencies:
npm install
# or
yarn install
Start the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 in your browser to see the application.
-
Select an
.xlsx
file using the file input. The first three rows of the file should contain the table headers. -
Once the file is selected, a green checkmark will appear next to the file input, and the "Upload and Convert" button will be enabled.
-
Click the "Upload and Convert" button to generate the iCal file and download it.
- FileUpload: The main component that handles file upload, parsing, and iCal generation.
- XLSX.js: Parses the Excel file.
- ical-generator: Generates the iCal file.
- file-saver: Saves the generated iCal file to the user's device.
This project is licensed under the MIT License.