Skip to main content

CLI Tools2026Project demo

AI Document Assistant

A Python CLI for summarising, translating, and analysing the sentiment of text and PDF documents.

Platforms
CLI
Focus
Concise summaries · Three analysis modes · Reusable output

Project view

A CLI demonstration from document selection to saved output.

The story

The problem

Long documents can be time-consuming to review, especially when the goal is to extract key points or translate content.

What it delivers

I built a command-line workflow that reads a text file or PDF, runs the selected analysis, and displays and saves the result.

At a glance

  • Concise summaries

    Produces a short overview and a list of key points from longer documents.

  • Three analysis modes

    Summarise, translate, or assess sentiment through the same CLI.

  • Reusable output

    Use the same workflow for lecture notes, reports, and other text-based material.

Built with

  • Python
  • OpenAI API
  • PyPDF2
  • pytest
  • Text and PDF input

    Text and PDF files follow the same workflow, including language detection and word-count reporting.

  • Saved results

    Results are checked, displayed in the terminal, and saved as timestamped JSON.

A closer look

The CLI reads a lecture PDF, detects its language, and produces a structured summary.
The example condenses course material into a summary and five key points.

Continue exploring

More projects

View all projects →︎