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]

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

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.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.1.3.tar.gz (3.5 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.1.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ggai-0.1.3.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for ggai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 51f601ef89eeb42fa32737864f94685bee59c4a285dfb0c56095b2921b0f820c
MD5 0cd7c8ae89f745fecd93b0d2931cdee0
BLAKE2b-256 cfa67f5d74b7a8e7abafaf0a5a48797748a521bb9e984aa57fe7a23e9702f93a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ggai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for ggai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae70166aff0665f659dba74cf9fa36386c144e89e02ba22f0673dc0b1cedf3ae
MD5 37d37c69db35bc7aed997c873df8b719
BLAKE2b-256 92c988c2175320a46e874ba8cf2dcf9a1767cc8aa4047a0b7d521286e001d37b

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