Urgent.News

What's breaking now, across thousands of outlets.

Tech

๐Ÿ‘ป Ghost Terminal: A Ghost Living Inside Your Terminal

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built What if your terminal wasn't just a place where you execute commands, but a place where a ghost lives? Introducing Ghost Terminal โ€“ an AI-powered command-line companion that brings a little Halloween spirit into everyday programming. The idea is simple: imagine running a command andโ€ฆ

This submission, titled "Ghost Terminal: A Ghost Living Inside Your Terminal," is part of the Hacktoberfest Open-Source AI Challenge Week 4. The project introduces a ghostly AI companion that brings a Halloween spirit to everyday programming through the command-line interface. The idea is to have a mysterious ghost respond to terminal commands with spooky, humorous, and intelligent commentary.

The ghost, embodied within the Ghost Terminal application, observes the user's terminal commands, understands their context, and delivers its spooky responses. The project is open-source, and contributions are welcomed. It is built using Python and an open-source AI ecosystem, specifically Ollama for running open-weight language models locally and Llama or Qwen for generating the AI's responses. The terminal experience is made more interactive with the Rich library, and subprocess captures command execution and output.

The open innovation approach of Ghost Terminal offers several benefits, including privacy, offline capability, model flexibility, accessibility, and customization. Using open-weight models and local inference provides control over data handling and AI behavior, setting it apart from closed AI APIs. The spirit of Halloween, with its themes of haunted houses and mysterious entities, inspired the development of this AI companion for the terminal, aiming to bring personality and intrigue to developer's daily work.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in Tech

Make GitHub Actions OIDC trust depend on the claims you can enforce

Make GitHub Actions OIDC trust depend on the claims you can enforce GitHub Actions can obtain a short-lived OpenID Connect token and exchange it for cloud access without storing a long-lived cloudโ€ฆ

  • GitHub Actions can use OIDC tokens for cloud access without storing secrets.
  • Organizations can customize subject claim to require specific claims.
  • Rigorous testing ensures only trusted workflows receive cloud sessions.

Collect leads in a Google Sheet with a free Apps Script webhook (no Zapier)

Zapier and Make are fine tools, but paying a monthly fee to move a form submission into a spreadsheet stings when you have ten leads a month.

  • Use Google Apps Script to create free HTTPS endpoint for lead submissions
  • Script checks SECRET token, validates email before appending row to Google Sheet
  • Deploy script as web app, configure form to post data to endpoint URL

More from Saturday 31 October โ†’