Metadata-Version: 2.4
Name: osinterai
Version: 0.2.0
Summary: OsinterAI — AI-powered OSINT terminal tool (TUI): domain WHOIS/RDAP, DNS, subdomains, IP/ASN with offline DB-IP geo, URL & MAC, reachability, username & e-mail checks, case management, reports and a built-in Kali Linux root terminal, with an ethical AI investigation agent. Türkçe / English.
Author: Muhammed (ThT0AltayHR)
Maintainer: Muhammed (ThT0AltayHR)
License-Expression: LicenseRef-Proprietary
Project-URL: Homepage, https://ai.osinterai.workers.dev
Project-URL: Documentation, https://ai.osinterai.workers.dev/en
Project-URL: Repository, https://github.com/ThT0AltayHR/osinterai
Project-URL: Issues, https://github.com/ThT0AltayHR/osinterai/issues
Project-URL: Changelog, https://ai.osinterai.workers.dev/en#releases
Project-URL: PyPI, https://pypi.org/project/osinterai/
Project-URL: License, https://ai.osinterai.workers.dev/en/license
Keywords: osint,osint-tool,open-source-intelligence,threat-intelligence,cybersecurity,recon,reconnaissance,whois,rdap,domain-age,dns,dns-over-https,subdomain,subdomain-enumeration,certificate-transparency,crt.sh,ip-lookup,asn,geoip,globalping,reachability,username-search,email-osint,spf,dmarc,ai,ai-agent,gemini,llm,tui,terminal,cli,textual,termux,android,siber-guvenlik,acik-kaynak-istihbarat,turkce,kali-linux,proot,case-management,geoip-offline,db-ip,whatsmyname,url-scanner,mac-vendor
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Environment :: Console :: Curses
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Natural Language :: Turkish
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: Android
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Security
Classifier: Topic :: Internet :: Name Service (DNS)
Classifier: Topic :: System :: Networking :: Monitoring
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES
Requires-Dist: textual>=0.86
Requires-Dist: httpx>=0.25
Requires-Dist: segno>=1.5
Requires-Dist: packaging>=21
Requires-Dist: pyte>=0.8.1; sys_platform != "win32"
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: pillow; extra == "dev"
Requires-Dist: fonttools; extra == "dev"
Requires-Dist: cython>=3; extra == "dev"
Dynamic: license-file

<p align="center">
  <a href="https://ai.osinterai.workers.dev"><img src="https://ai.osinterai.workers.dev/logo.png" width="128" alt="OsinterAI logo"></a>
</p>

<h1 align="center">OsinterAI</h1>

<p align="center">
  <b>AI-powered OSINT terminal tool</b> · <b>Yapay zekâ destekli OSINT terminal aracı</b><br>
  Domain WHOIS/RDAP · DNS · subdomains · IP/ASN · global reachability · username &amp; e-mail checks · ethical AI investigation agent
</p>

<p align="center">
  <a href="https://pypi.org/project/osinterai/"><img alt="PyPI" src="https://img.shields.io/pypi/v/osinterai?color=22f59a&label=PyPI&logo=pypi&logoColor=white"></a>
  <a href="https://pypi.org/project/osinterai/"><img alt="Python" src="https://img.shields.io/badge/python-3.9%2B-14d8c4?logo=python&logoColor=white"></a>
  <img alt="Platforms" src="https://img.shields.io/badge/Linux%20%7C%20macOS%20%7C%20Windows%20%7C%20Termux-supported-38bdf8">
  <img alt="Languages" src="https://img.shields.io/badge/UI-T%C3%BCrk%C3%A7e%20%7C%20English-ffc857">
  <a href="https://ai.osinterai.workers.dev/en/license"><img alt="License" src="https://img.shields.io/badge/license-proprietary-ff5d73"></a>
</p>

<p align="center">
  <a href="https://ai.osinterai.workers.dev">Website</a> ·
  <a href="https://github.com/ThT0AltayHR/osinterai">GitHub</a> ·
  <a href="https://pypi.org/project/osinterai/">PyPI</a> ·
  <a href="https://ai.osinterai.workers.dev/en/license">License</a> ·
  <a href="#türkçe">Türkçe</a>
</p>

<p align="center">
  <img src="https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/gifs/palette-domain.gif" width="860" alt="OsinterAI command palette and domain intelligence">
</p>

---

## Install

```bash
pip install osinterai
osinterai
```

| Platform | Command |
|---|---|
| **Linux** | `python3 -m pip install --user osinterai` (or `pipx install osinterai`) |
| **macOS** | `brew install python` → `python3 -m pip install osinterai` (or `pipx install osinterai`) |
| **Windows** | `py -m pip install osinterai` → run `osinterai` in Windows Terminal |
| **Android · Termux** | `pkg update && pkg install python` → `pip install osinterai` → `osinterai` |

Requirements: Python ≥ 3.9 and a terminal with 256 colours (truecolour recommended). No API keys, no compiler:
OsinterAI installs as a pure-Python wheel everywhere and as a compiled wheel where one is available.

**Updates are automatic.** On start OsinterAI asks PyPI for a newer release, shows an *Updating* screen, runs
`pip install --upgrade` (or `pipx upgrade`) and restarts itself. Opt out in **Settings → Auto-update** or with
`OSINTERAI_NO_AUTOUPDATE=1`.

## Features

- **AI investigation agent** — give a target (domain, IP, e-mail or username) and a goal; the agent picks tools from an
  allow-list, runs them concurrently, streams an evidence-based report and generates a title for your history.
- **Domain intelligence** — RDAP (the structured successor of WHOIS): registrar, creation/expiry, **domain age**,
  registry locks, DNSSEC, nameservers and risk signals (very young domain, expiring, no transfer lock).
- **DNS intelligence** — A/AAAA/CNAME/MX/NS/TXT/SOA/CAA over **DNS-over-HTTPS** (1.1.1.1, Google fallback) with
  SPF / DMARC parsing and an e-mail spoofing grade.
- **Subdomains** — passive inventory from **certificate transparency** (crt.sh, CertSpotter fallback), notable hosts,
  label statistics and live filter.
- **IP / ASN / geo** — network owner, ASN, prefix (RDAP), reverse DNS and an approximate location on a terminal globe.
- **Reachability by country** — real ICMP / HTTPS probes from the public **Globalping** network on a rotating
  braille **world globe**, latency per country.
- **Username search** — presence check across 30 public sites (exists / not found / unclear). No scraping, no profiling.
- **E-mail research** — format, role account, MX, SPF/DMARC, free/disposable provider and Gravatar presence. **No breach dumps, no mailbox probing.**
- **Reports** — saved privately to your account; only **domain, IP and DNS** reports can get a public link.
- **History** — every investigation with its AI title, kept until you delete your account.
- **Actions summary** — a timeline of every step the AI ran, with timings and results.
- **Sandbox** — an isolated, purely virtual terminal over your findings (`ls`, `tree`, `cat`, `grep`, `json` …).
  The AI can use it to show evidence; it never runs commands on your machine.
- **Account security** — username + password, **TOTP 2FA with a QR code in the terminal** (Google Authenticator, Aegis,
  2FAS, Authy), sign out everywhere, delete account. The session token is stored in your user config folder with
  `0600` permissions.
- **Built for every terminal** — `/` command palette, arrow-key navigation everywhere, mouse and **touch (Termux)**
  support, adaptive layouts from 60×30 phones to ultra-wide desktops, async networking so the UI never freezes,
  ASCII fallback mode.
- **Bilingual** — Türkçe and English, picked on first run and changeable any time; AI answers follow your language.

> **Ethics.** OsinterAI is a defensive tool. The AI agent (and a client-side guard) refuses doxxing, stalking and
> attacks on systems. Use it for your own assets, brand protection and authorised investigations only.

## Screenshots

| Home + AI panel | Command palette |
|---|---|
| ![Home](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/home.png) | ![Palette](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/palette.png) |
| **AI investigation (live)** | **Investigation complete** |
| ![Investigation](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/investigate.png) | ![Finished](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/finished.png) |
| **Reachability globe** | **Domain intelligence** |
| ![Reach](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/reach.png) | ![Domain](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/domain.png) |
| **DNS + mail security** | **Subdomains (CT logs)** |
| ![DNS](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/dns.png) | ![Subdomains](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/subdomains.png) |
| **IP / ASN** | **Username presence** |
| ![IP](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/ip.png) | ![Username](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/username.png) |
| **Actions summary** | **Sandbox** |
| ![Actions](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/actions.png) | ![Sandbox](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/sandbox.png) |
| **2FA with terminal QR** | **Termux (60×30)** |
| ![2FA](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/2fa.png) | ![Termux](https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/screens/termux-reach.png) |

<p align="center">
  <img src="https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/gifs/ai-investigation.gif" width="49%" alt="AI investigation">
  <img src="https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/gifs/globe-reach.gif" width="49%" alt="Reachability globe">
</p>
<p align="center">
  <img src="https://raw.githubusercontent.com/ThT0AltayHR/osinterai/main/docs/gifs/splash-update.gif" width="60%" alt="Splash and auto-update">
</p>

## Usage

| Key | Action |
|---|---|
| `/` | Command palette (type to filter, `←` `→` categories, `↑` `↓` select, `Enter` open) |
| `↑` `↓` `←` `→` `Enter` | Navigate lists, buttons and the globe |
| `Esc` | Back |
| `Tab` | Next field / AI chat panel |
| `S` · `P` · `A` | Save report · share (domain/IP/DNS) · ask the AI about a result |
| `Ctrl+O` | Toggle the AI side panel (wide terminals) |
| `Ctrl+C` | Quit |

Slash commands: `/investigate`, `/domain`, `/dns`, `/subdomains`, `/ip`, `/reach`, `/username`, `/email`, `/chat`,
`/history`, `/actions`, `/sandbox`, `/account`, `/2fa`, `/settings`, `/about`, `/logout`, `/quit`
(e.g. type `/dns example.com` in the prompt).

```text
osinterai [--lang tr|en] [--no-update] [--ascii] [--no-mouse] [--api URL]
osinterai logout     # remove the local session
osinterai paths      # show config / session paths
```

Environment: `OSINTERAI_NO_AUTOUPDATE=1`, `OSINTERAI_MOUSE=0|1`, `OSINTERAI_ASCII=1`, `OSINTERAI_HOME=<dir>`.

**Termux tips:** enable the extra-keys row (`ESC`, `TAB`, `/`, arrows) in `~/.termux/termux.properties`; with touch
mode on, taps act as clicks — turn it off in Settings if you prefer the keyboard to open on tap.

## Privacy &amp; data sources

All OSINT modules use free, public, keyless sources: rdap.org / IANA RDAP, Cloudflare &amp; Google DNS-over-HTTPS,
crt.sh / CertSpotter, ipwho.is / ipapi.co, Globalping, Gravatar and the public profile endpoints of the checked sites.
AI requests go only to the OsinterAI cloud (`ai.osinterai.workers.dev`); **no AI provider key is ever shipped in the
package.** See the [Privacy Policy](https://ai.osinterai.workers.dev/en/privacy) and [Terms](https://ai.osinterai.workers.dev/en/terms).

---

## Türkçe

**OsinterAI**, alan adı (WHOIS/RDAP ve alan adı yaşı), DNS, alt alan adı, IP/ASN, ülkelere göre erişim, kullanıcı adı
ve e-posta modüllerini savunma odaklı bir **yapay zekâ soruşturma ajanıyla** birleştiren kapalı kaynak bir terminal
aracıdır. Linux, macOS, Windows ve **Android Termux** üzerinde çalışır.

### Kurulum

```bash
pip install osinterai
osinterai
```

- **Termux:** `pkg update && pkg install python` → `pip install osinterai` → `osinterai`
- **Windows:** `py -m pip install osinterai` · **macOS / Linux:** `python3 -m pip install osinterai` veya `pipx install osinterai`

İlk açılışta dil seçilir (Türkçe / English, Ayarlar'dan değiştirilebilir). Güncellemeler otomatiktir: yeni sürüm
çıktığında "Güncelleniyor" ekranı açılır, kurulum yapılır ve uygulama kendini yeniden başlatır.

### Özellikler

- **YZ soruşturması:** hedef + amaç ver; ajan izinli modülleri seçer, paralel çalıştırır, raporu canlı yazar ve geçmiş için başlık üretir.
- **Alan adı · DNS · alt alan adı · IP/ASN · erişim küresi · kullanıcı adı · e-posta** modülleri (anahtarsız, herkese açık kaynaklar).
- **Raporlar** hesabında gizli saklanır; yalnızca **alan adı, IP ve DNS** raporları herkese açık paylaşılabilir.
- **Geçmiş**, **eylem özeti** ve izole **sanal ortam** (ana makinede asla komut çalıştırmaz).
- **Hesap güvenliği:** terminalde QR ile **TOTP 2FA**, tüm cihazlarda çıkış, hesap silme. Oturum anahtarı `0600` izinle saklanır.
- `/` komut paleti, ok tuşlarıyla tam gezinme, **dokunmatik/fare** desteği, dar (Termux) ve geniş ekran uyumu, donmayan asenkron arayüz.

> **Etik kullanım:** OsinterAI doxxing, takip ve sistemlere saldırı isteklerini reddeder. Yalnızca kendi varlıkların,
> marka koruma ve yetkili soruşturmalar için kullan.

---

## License / Lisans

**Proprietary, closed-source software. © 2026 OsinterAI authors (Muhammed · [ThT0AltayHR](https://github.com/ThT0AltayHR)). All rights reserved.**

You may install and run unmodified copies obtained from the official channels for your own lawful use. Copying,
modifying, redistributing, reverse engineering, decompiling or building competing products is prohibited.
Full text: [`LICENSE`](https://github.com/ThT0AltayHR/osinterai/blob/main/LICENSE) · [ai.osinterai.workers.dev/en/license](https://ai.osinterai.workers.dev/en/license).

**Tescilli, kapalı kaynak yazılım.** Yalnızca resmî kanallardan edinilen değiştirilmemiş kopyaları kendi hukuka uygun
kullanımın için kurabilir ve çalıştırabilirsin. Kopyalama, değiştirme, yeniden dağıtım, tersine mühendislik ve kaynak
koda dönüştürme yasaktır. Tam metin: [ai.osinterai.workers.dev/tr/license](https://ai.osinterai.workers.dev/tr/license).
