Skip to main content

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

pythonpyside6qtgeminigemini-3.8-flashgoogle-genailatexlualatexmiktexpypdfpython-pptxpython-docxpyinstaller

AI tools

Coded withCodexGpt 6

Prize Categories Entered

  • Google

    Best Use of the Google Gemini API

    Submitted

    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 prize

    Best Design/UX

    Submitted

    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 prize

    Best Solo Hack

    Submitted

    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 prize

    Best Use of Theme

    Submitted
  • Event prize

    Best Overall Hack

    Submitted

    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 prize

    SURGE Prize Track

    Submitted

    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.