Skip to main content

Helper for GeoGuessr training using OpenAI

Project description

GGAI

License Python

Helper for GeoGuessr training using OpenAI

Table of Contents

Prerequisites

  • macOS
  • Python 3.10 and above

Install

  • with brew
brew tap rioriost/ggai
brew install ggai

Usage

ggai --help
usage: ggai [-h] [-k KEY] [-m MODEL] [-f FILENAME] [-d DIRECTORY]

ggai

options:
  -h, --help            show this help message and exit
  -k KEY, --key KEY     OpenAI API key
  -m MODEL, --model MODEL
                        OpenAI Model to use, default: gpt-4o
  -f FILENAME, --filename FILENAME
                        Filename for screencapture
  -d DIRECTORY, --directory DIRECTORY
                        Directory to save screencapture

Setup

Create a quickaction with Automator.

Automator Automator Automator

And, put a script with API key for OpenAI.

result=$(/opt/homebrew/bin/ggai -k "sk-proj-......")

osascript <<EOD
display dialog "$(echo "$result" | sed 's/"/\\"/g')" buttons {"OK"} default button 1
EOD

After saving the quickaction as 'ggai', you can call it from 'Services...' menu.

Automator

Sample

Release Notes

0.5.0 Release

  • Bump Python version to 3.14

0.4.27 Release

  • Dependency Update

0.4.26 Release

  • Dependency Update

0.4.25 Release

  • Dependency Update

0.4.24 Release

  • Dependency Update

0.4.23 Release

  • Dependency Update

0.4.22 Release

  • Dependency Update

0.4.21 Release

  • Dependency Update

0.4.20 Release

  • Security Update

0.4.19 Release

  • Dependency Update

0.4.18 Release

  • Dependency Update

0.4.17 Release

  • Dependency Update

0.4.16 Release

  • Dependency Update

0.4.15 Release

  • Dependency Update

0.4.14 Release

  • Dependency Update

0.4.13 Release

  • Dependency Update

0.4.12 Release

  • Dependency Update

0.4.11 Release

  • Dependency Update

0.4.10 Release

  • Dependency Update

0.4.9 Release

  • Dependency Update

0.4.8 Release

  • Changed the default model to GPT-5, it takes much longer to guess than gpt-4o

0.4.7 Release

  • Dependency Update

0.4.6 Release

  • Dependency Update

0.4.5 Release

  • Dependency Update

0.4.4 Release

  • Dependency Update

0.4.3 Release

  • Dependency Update

0.4.2 Release

  • Dependency Update

0.4.1 Release

  • Improved robustness

0.4.0 Release

  • Refactored

0.3.2 Release

  • Show guessing duration

0.3.1 Release

  • Improved prompt

0.3.0 Release

  • Added directory argument

0.2.2 Release

  • Improved prompt

0.2.1 Release

  • Added text embedding

0.2.0 Release

  • Added a feature to write a file of guess

0.1.6 Release

  • Improved prompt

0.1.5 Release

  • Improved prompt

0.1.4 Release

  • Improved prompt

0.1.3 Release

  • Fixed package size

0.1.2 Release

  • Added detailed README

0.1.1 Release

  • Initial release

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ggai-0.5.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ggai-0.5.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ggai-0.5.0.tar.gz.

File metadata

  • Download URL: ggai-0.5.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ggai-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a4a2ea6c3dc08e6193f382c16b8df3a8f994ccfcc539c3a9f59164c14d3dc3ef
MD5 e39eb5f6c56b76db01291db52103715a
BLAKE2b-256 c4f7893e117029714e024884ec6f2362bfdc40c3460a641438129fab7a867fde

See more details on using hashes here.

File details

Details for the file ggai-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: ggai-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ggai-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2ace9da17147d6120349eb9c60e9098206db457d57f7b2d9d1a4434853488d8
MD5 11a6c2aec0fb22ec2da2419aa6deb400
BLAKE2b-256 477927598fa36bf31a87db80e82b95768abeddcf19f62b6536354da4a0bb5eeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page