ge-sda-application-status

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

ge-sda-application-status

CI

Checks the status of an application filed with Georgia's Public Service Development Agency (sda.gov.ge): residence permits, citizenship and other applications from the electronic register. The tool prints the status, the decision deadline and the documents, and notifies you when something changes.

Unofficial tool, not affiliated with the agency. It does what you would do by hand on the website: one request per run. Don't run it more often than you need to.

How it works

The search form is protected by Google reCAPTCHA v2 (the "I'm not a robot" checkbox). The tool:

  1. opens Chrome on services.sda.gov.ge with the application number and code filled in;
  2. ticks "I'm not a robot" and presses Search itself. If Google shows a picture challenge instead, you solve it in the browser window and the search is sent automatically;
  3. intercepts the API response (servicesapi.sda.gov.ge/api/externalApplication), prints the status, dates and documents, saves the JSON and compares it with the previous check;
  4. shows a macOS notification if anything changed.

Installation

Google Chrome is required. Tested on macOS; Linux and Windows builds are provided but untested.

Download a binary from Releases and unpack it. macOS ships one universal binary for Intel and Apple Silicon. The binary is not signed, so macOS quarantines it when downloaded with a browser; remove the flag:

xattr -d com.apple.quarantine ge-sda-application-status

With Go (1.27+):

go install github.com/obalunenko/ge-sda-application-status@latest

or from source:

git clone https://github.com/obalunenko/ge-sda-application-status.git
cd ge-sda-application-status
go build .

Usage

You get the application number and code when you file the application (by email or SMS).

ge-sda-application-status -number 1234567890 -code 01-ABCDE -lang en-us
# or with environment variables, which keeps the code out of your shell history:
export SDA_NUMBER=1234567890 SDA_CODE=01-ABCDE SDA_LANG=en-us
ge-sda-application-status

Example output with -lang en-us (the service, status and document names come from the server in the selected language; the applicant's name is shown as registered, usually in Georgian):

Opening the browser; the captcha and the search are handled automatically.

Application:   1234567890
Applicant:     …
Service:       Labour residence permit
Status:        Opinion being prepared
Filed:         10.11.2026 17:48
Decision due:  10.12.2026
Documents:
  • 11.11.2026 09:12 Citizen's application

No changes since the last check.
Full response: /Users/you/Library/Application Support/sda-status/1234567890.json

Flags:

flag default description
-number $SDA_NUMBER application registration number
-code $SDA_CODE application code word
-lang $SDA_LANG page and response language: ka-ge, en-us, ru-ru (Georgian if empty)
-auto true tick the captcha and press Search automatically
-timeout 5m how long to wait for the response
-data-dir $SDA_DATA_DIR or ~/Library/Application Support/sda-status Chrome profile and the last result
-notify true macOS notification when something changes
-version — print the version and exit

The language is switched inside the page: the site sends it to the API in the language header and the server answers in it (status, service, documents, error messages). The site ignores the language parameter in the form URL. Switching the language between runs does not count as a change: the status is compared by statusID and the documents by their dates.

The Chrome profile is kept between runs, so reCAPTCHA asks for picture challenges less often. The full last response is saved to <data-dir>/<number>.json if you need all the fields; its path is printed at the end of every run. The file contains everything needed to look up your application (number, code word, name, personal number), so only your user can read it.

By default the folder does not depend on where the tool runs from; otherwise a run from another folder would not find the previous result. To keep the data next to the project:

export SDA_DATA_DIR=$PWD/.data   # .data/ is already in .gitignore

Limitations

  • The response fields were reverse-engineered from the website's frontend (status, statusID, serviceName, startDate, endDate, documents, …). If the agency changes the API, the full JSON is saved and shows what changed.
  • Unattended checks work only while Google accepts the checkbox without a picture challenge. If a challenge appears, you have to solve it. Google can make the check stricter at any time.
  • Right after the first start with a new Chrome profile the page sometimes fails to load (net::ERR_CERT_VERIFIER_CHANGED); the tool reloads it automatically.

Releasing

Releases are built by GoReleaser. A v* tag starts the Release workflow: it checks go.mod and runs the tests, builds binaries for Linux and Windows (amd64/arm64) and one universal binary for macOS (Intel and Apple Silicon), archives them with checksums.txt and publishes a GitHub Release with a changelog.

git tag -a v0.1.0 -m v0.1.0
git push origin v0.1.0

To validate the config and build locally without publishing:

goreleaser check
goreleaser release --snapshot --clean   # output in dist/

License

MIT

Documentation

Overview

Command ge-sda-application-status checks the status of an application registered with the Public Service Development Agency of Georgia (sda.gov.ge).

The agency's search form is protected by Google reCAPTCHA v2. The tool opens a Chrome window with the application number and code already filled in, ticks the "I'm not a robot" checkbox and presses Search (if Google answers with a picture challenge, the user solves it in the window), then intercepts the API response, prints the status and compares it with the result of the previous run.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL