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.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.1.4.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.4-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ggai-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 2b020b24b6f50643ab3ea437cf96b060fdc6e9fc87bf747f10a55d4e00721f79
MD5 47878a79f0de72f9189f935f723bc020
BLAKE2b-256 96d9356304179fce5dc535cb11d4dd8f5f9564019bc27b8ab2e815b9ad456e1e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ggai-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6ced19ef1fd609645694e1a276c88772030c4f95b5cc29c4115aa7cb6ad5e7d8
MD5 7033d15e63a6e17241a9acf2b82c4297
BLAKE2b-256 6379e02064c7402095d1c502e71373f6fb281680f7da7321ee6418099f86c53a

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