GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - voiceapiai/ralertsinua: Rust async API wrapper (reqwest) & TUI (ratatui) for Air Raid Alert Map of Ukraine

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.coverage
.coverage
 
 
.github
.github
 
 
.vscode
.vscode
 
 
benches
benches
 
 
docs
docs
 
 
locales
locales
 
 
ralertsinua-geo
ralertsinua-geo
 
 
ralertsinua-http
ralertsinua-http
 
 
ralertsinua-models
ralertsinua-models
 
 
src
src
 
 
tools
tools
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.env.default
.env.default
 
 
.envrc
.envrc
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.rs
build.rs
 
 
rustfmt.toml
rustfmt.toml
 
 
sonar-project.properties
sonar-project.properties
 
 
ttyd.sh
ttyd.sh
 
 

Repository files navigation

Quality Gate Status Coverage Status Crates.io Version Crates.io License docs.rs Stand With Ukraine

Stand With Ukraine

ralertsinua

Rust async API wrapper (reqwest) & TUI (ratatui) for alerts.in.ua

screencast

Introduction

The Alerts.in.ua API Client is a Rust library that simplifies access to the alerts.in.ua API service. It provides real-time information about air raid alerts and other potential threats.

Installation

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/voiceapiai/ralertsinua/releases/download/v0.5.0/ralertsinua-installer.sh | sh

Download prebuilt binaries from the releases page

Usage

⚠️ Before you can use this library, you need to obtain an API token by submitting an API request form.

⚠️ Provide token via environment variable ALERTSINUA_TOKEN or via --token flag. If empty, the library will try to ask you interactively one time.

export ALERTSINUA_TOKEN="your_token"; ralertsinua

# or

ralertsinua --token "your_token"

Default polling interval is 30 seconds. You can change it via ALERTSINUA_POLLING_INTERVAL_SEC env or --interval flag.

export ALERTSINUA_POLLING_INTERVAL_SEC=60; ralertsinua

# or

ralertsinua --interval 60

License

MIT 2024

Inspitation & Credits & Thanks

  • ratatui's async template
  • rspotify rsotify
  • echomap echomap
  • alerts_in_ua Python client alerts-in-ua

History

Star History Chart

*[TUI]: Terminal User Interface

About

Rust async API wrapper (reqwest) & TUI (ratatui) for Air Raid Alert Map of Ukraine

voiceapiai.github.io/ralertsinua/

Topics

apiapi-clientcligeojsonmapsopenstreetmaprustterminal-basedtui

Resources

Readme
MIT license
Activity
Custom properties

Stars

75 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.