Skip to content

Libregram v1.4.0 — Visitor cities, maps and visible stay

Choose a tag to compare

@adlererik adlererik released this 12 Oct 17:25
· 6 commits to main since this release

Libregram v1.4.0 — Visitor cities, maps, and visible stay

By Erik Adler · MIT license.

What is new

  • Optional free IP2Location.io city estimates for IPv4 and IPv6, with country flags, 24-hour caching, a 900/day request cap, and local fallback.
  • Small Estimated location links open Apple Maps on Apple administrator devices and Google Maps elsewhere. IP locations are estimates, never someone’s exact GPS position.
  • Visible stay estimates time while the page is visible. Updates arrive about every 20 seconds and on leaving; historical durations remain unknown.
  • Refresh older locations one history page at a time. Keep history until manual deletion.
  • Exclude local-network and recognized owner visits; correctly recognize encoded administrator cookies.
  • Updated setup, privacy, feature, upgrade, and operation guides. All nine current README screenshot links are preserved.

Free setup and privacy

New installations still use ordinary CMS username/password login and local GeoIP. Cloudflare and an IP lookup account are not required.

To enable the free keyless API, set VISITOR_GEO_PROVIDER="ip2location" in private .env.local and restart. No account/card is needed. An optional free-account key stays server-side. The provider’s free service has no overage charges; the application falls back locally at its cap or when the API is unavailable. Ordinary server/Internet costs remain yours. API instructions, current pricing, privacy, and limitations.

When enabled, outside public IPs are sent to IP2Location.io. Required visible credit and provider-aware privacy disclosure are included. No GPS permission is requested. Maps and duration are estimates and can be inaccurate or unavailable.

Upgrade safely

Back up SQLite, uploads, private environment files, runtime settings, and sharing links first. Record your previous source revision. After updating to this tag, install locked dependencies, apply pnpm db:push, then rebuild/restart. New Visit columns are optional or defaulted; no reset or re-import is needed. Never use --accept-data-loss. Credentials, login mode, media, visitor history, and sharing links remain intact.

Beginner installation · Upgrade guide · All features

Source-only downloads

ZIP, tarball, and SHA256SUMS are generated from audited Git source. No passwords, tokens, private account settings, personal media files, populated databases, visitor records, private backups, dependencies/runtime binaries, or compiled builds are included. The intentionally published README image links remain.

Existing one-link photo/video compilations, direct sharing, Google Cast/AirPlay, Favorites, carousels, soundtracks, themes, and CMS tools remain available. Production builds and TypeScript checks passed; no new device interaction or IP-city accuracy tests were performed.