Skip to content

Maxmind DB support for scripting engine#222

Merged
Snawoot merged 2 commits into
masterfrom
mmdb
Jun 3, 2026
Merged

Maxmind DB support for scripting engine#222
Snawoot merged 2 commits into
masterfrom
mmdb

Conversation

@Snawoot
Copy link
Copy Markdown
Member

@Snawoot Snawoot commented Jun 3, 2026

Purpose of proposed changes

Introduces native access to MMDB databases from JS scripts, saving users from jumping over hoops in order to use any kind of GeoIP database.

Essential steps taken

Implemented dynamic JS object which serves as a proxy to MMDB reader. Lifecycle of underlying reader is tied to garbage collection of the JS wrapper. Mapping between objects is left to MMDB reader and JS runtime implementation, our wrapper knows nothing about DB structure.

@Snawoot Snawoot self-assigned this Jun 3, 2026
@Snawoot Snawoot force-pushed the mmdb branch 4 times, most recently from 103f5ed to 72a1329 Compare June 3, 2026 09:05
@Snawoot Snawoot merged commit 1fd2d06 into master Jun 3, 2026
@Snawoot Snawoot deleted the mmdb branch June 3, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant