Late Night Pal
Turn scattered course files into organized workshops, personalized study plans, and polished PDFs with Gemini.
About the project
Late Night Pal is a Windows desktop study companion that brings course-file organization and study-material creation into one workspace.
Open a local folder as a Workshop, select PDFs, PowerPoint slides, Word documents, TXT or Markdown files across subfolders, and choose between two workflows. Make me uses the Google Gemini API (default model: gemini-3.8-flash) to generate study schedules, daily study plans, checklists, notes, summaries, answer keys, one-page cheat sheets, and practice questions. Choose a language style or number of study days, then save the results as locally compiled LaTeX PDFs in the current folder.
Organize handles everyday file cleanup: drag-and-drop moves, Copy/Paste, Recycle Bin deletion, Wrap to collect files into a folder, Rip to move a selected folder’s contents up one level, and Super Wrap to group files by shared name parts. Draggable name tags create consistent numbered filenames, and Recent Downloads brings completed Chrome downloads into the workshop without removing the originals.
The moonlit navy interface keeps file browsing, Selected Inputs, and Organize/Make me controls together. Efficient mode extracts and caches text locally before sending it to Gemini, with a visible warning that diagrams and formatting may be lost. Scanned PDFs require an explicit Process original decision, and cancelling at that point sends nothing.
Python validates the generated bundle and LaTeX, compiles PDFs in a restricted subprocess, checks page limits, and publishes only after all documents pass. Existing files are never overwritten; collisions receive numbered suffixes. Background workers keep long operations off the UI thread, with actionable errors and bounded repair attempts.
Built with Python, PySide6/Qt Widgets, Google Gemini via google-genai, LuaLaTeX/MiKTeX, pypdf, python-pptx, and python-docx. AI generation requires internet access and a Gemini API key; PDF compilation requires LuaLaTeX. Local file organization does not require the AI service.
Built with
AI tools
Prize Categories Entered
- Submitted
Best Use of the Google Gemini API
Late Night Pal uses the Google Gemini API (gemini-3.8-flash by default) to analyze selected course materials and generate eight types of study output, including summaries, practice questions, answer keys, and daily study plans. Structured responses are validated and compiled locally into LaTeX PDFs, with targeted repair for invalid documents and an optional local text-extraction mode.
- Event prizeSubmitted
Best Design/UX
A cohesive moonlit navy interface brings file browsing, cross-folder Selected Inputs, and distinct Organize/Make me workflows into one desktop workspace. Consistent typography, SVG icons, clear selection and disabled states, scrollable settings, visible save destinations, and actionable status messages help students understand what will happen and recover without losing their settings.
- Event prizeSubmitted
Best Solo Hack
I built Late Night Pal as a solo participant during Fall Hacks 2026, combining a Python/Qt desktop interface, Gemini-powered study generation, local LaTeX PDF rendering, and filesystem organization. The complete workflow runs from selecting course files to organizing them and saving validated study documents.
- Event prizeSubmitted
Best Use of Theme
- Event prizeSubmitted
Best Overall Hack
Late Night Pal combines a working desktop file organizer with Gemini-powered study-material generation to address a complete student workflow. It supports multiple input formats, eight study outputs, local PDF compilation, scan-handling decisions, bounded recovery, and publication that preserves existing files, presented through a consistent interface.
- Event prizeSubmitted
SURGE Prize Track
Late Night Pal addresses the daily inconvenience of scattered lecture files, inconsistent filenames, and repetitive study preparation. Students can import recent downloads, group and rename course files, then turn those same materials into summaries, checklists, practice questions, and study plans without switching between separate tools.