Skip to content

Commit

Permalink
chore: add more readme languages
Browse files Browse the repository at this point in the history
Add Russian, Japanese, and German language support and update README files with links to new language documentation.

* **README.md**: Add links to `README_RU.md`, `README_JP.md`, and `README_DE.md`.
* **README_CN.md**: Add links to `README_RU.md`, `README_JP.md`, and `README_DE.md`.
* **README_TW.md**: Add links to `README_RU.md`, `README_JP.md`, and `README_DE.md`.
* **README_RU.md**: Create a new file with Russian language documentation.
* **README_JP.md**: Create a new file with Japanese language documentation.
* **README_DE.md**: Create a new file with German language documentation.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/zmh-program/next-whois-ui?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
zmh-program committed Nov 27, 2024
1 parent f141e84 commit ad329f3
Show file tree
Hide file tree
Showing 6 changed files with 537 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# 🧪 Next Whois UI
😎 Lightweight & Beautiful Whois Query Tool

[English](README.md) · [简体中文](README_CN.md) · [繁體中文](README_TW.md)
[English](README.md) · [简体中文](README_CN.md) · [繁體中文](README_TW.md) · [Русский](README_RU.md) · [日本語](README_JP.md) · [Deutsch](README_DE.md)

[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui)

Expand Down
3 changes: 1 addition & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<div align="center">

# 🧪 Next Whois UI

😎 现代代 Whois 查询工具

[English](README.md) · [简体中文](README_CN.md) · [繁體中文](README_TW.md)
[English](README.md) · [简体中文](README_CN.md) · [繁體中文](README_TW.md) · [Русский](README_RU.md) · [日本語](README_JP.md) · [Deutsch](README_DE.md)

[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui)

Expand Down
178 changes: 178 additions & 0 deletions README_DE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
<div align="center">

# 🧪 Next Whois UI

😎 Modernes Whois-Abfrage-Tool

[English](README.md) · [简体中文](README_CN.md) · [繁體中文](README_TW.md) · [Русский](README_RU.md) · [日本語](README_JP.md) · [Deutsch](README_DE.md)

[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui)

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/zmh-program/next-whois-ui)

</div>

## 😎 Funktionen

Keine Notwendigkeit, mehr zu sagen, probieren Sie es einfach aus! 🥳

1.**Schönes UI**: Modernes Design mit [Shadcn UI](https://ui.shadcn.com), das Ihnen ein angenehmes Gefühl vermittelt.
2. 📱 **Responsive**: Funktioniert gut auf Mobilgeräten✅ / Tablets✅ / Desktops✅, PWA-App-Unterstützung.
3. 🌈 **Multi-Theme**: Unterstützung für mehrere Themen (*Hell & Dunkel*), Erkennung des Systemthemas, Wechseln des Themas nach Belieben.
4. 🚀 **Flexible Abfrage**: Angetrieben von Next.js, Unterstützung für serverlose Bereitstellung und schnelle Abfragen.
5. 📚 **Verlauf speichern**: Verlaufsaufzeichnungen werden im lokalen Speicher gespeichert, einfach zu durchsuchen und anzuzeigen.
6. 📡 **Offene API**: Einfache API für Whois-Abfragen, leicht in andere Dienste zu integrieren.
7. 🌍 **IPv4 & IPv6 Whois**: Unterstützung für Whois-Abfragen für IPv4, IPv6, Domain, ASN, CIDR.
8. 📦 **Ergebnis erfassen**: Erfassen von Whois-Ergebnissen, einfach zu teilen und zu speichern.
9. 📡 **Whois-Cache**: Unterstützung für Whois-Cache basierend auf Redis, Verbesserung der Abfragegeschwindigkeit.
10. 🌍 [In Arbeit] **Internationalisierung**: Unterstützung für mehrere Sprachen. ([#6](https://github.com/zmh-program/next-whois-ui/issues/6))

👉 [Pull Request erstellen](https://github.com/zmh-program/next-whois-ui/pulls)

## Bereitstellung

#### `1` 🚀 Plattformen (Empfohlen)

[Vercel](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui) / [Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/zmh-program/next-whois-ui) / [Zeabur](https://zeabur.com/templates/UHCCCT)

#### `2` 🐳 Docker

```bash
docker run -d -p 3000:3000 programzmh/next-whois-ui
```

#### `3` 🔨 Quellcode

```bash
git clone https://github.com/zmh-program/next-whois-ui
cd next-whois-ui

npm install -g pnpm
pnpm install
pnpm dev
```

## 📏 Umgebungsvariablen

### SEO

- `NEXT_PUBLIC_SITE_TITLE`: Seitentitel
- `NEXT_PUBLIC_SITE_DESCRIPTION`: Seitenbeschreibung
- `NEXT_PUBLIC_SITE_KEYWORDS`: Seiten-Schlüsselwörter

### WHOIS

- `NEXT_PUBLIC_HISTORY_LIMIT`: Verlaufslimit (Standard: 6)
- `NEXT_PUBLIC_MAX_WHOIS_FOLLOW`: Maximale Domain-Whois-Verfolgung (Standard: 0)
- `NEXT_PUBLIC_MAX_IP_WHOIS_FOLLOW`: Maximale IP-Whois-Verfolgung (Standard: 5)

### CACHE

- `REDIS_HOST`: Redis-Host (CACHE DEAKTIVIERT, WENN LEER)
- `REDIS_PORT`: Redis-Port (Standard: 6379)
- `REDIS_PASSWORD`: Redis-Passwort (OPTIONAL)
- `REDIS_DB`: Redis-DB (Standard: 0)
- `REDIS_CACHE_TTL`: Redis-Cache-TTL in Sekunden (Standard: 3600)

## 📝 API-Referenz

`GET` `/api/lookup?query=google.com`

<details>
<summary><strong>Antwort</strong> OK (200)</summary>

```json
{
"time": 1.547,
"status": true,
"cached": false,
"result": {
"domain": "GOOGLE.COM",
"registrar": "MarkMonitor Inc.",
"registrarURL": "http://www.markmonitor.com",
"ianaId": "292",
"whoisServer": "whois.markmonitor.com",
"updatedDate": "2019-09-09T15:39:04.000Z",
"creationDate": "1997-09-15T04:00:00.000Z",
"expirationDate": "2028-09-14T04:00:00.000Z",
"status": [
{
"status": "clientDeleteProhibited",
"url": "https://icann.org/epp#clientDeleteProhibited"
},
{
"status": "clientTransferProhibited",
"url": "https://icann.org/epp#clientTransferProhibited"
},
{
"status": "clientUpdateProhibited",
"url": "https://icann.org/epp#clientUpdateProhibited"
},
{
"status": "serverDeleteProhibited",
"url": "https://icann.org/epp#serverDeleteProhibited"
},
{
"status": "serverTransferProhibited",
"url": "https://icann.org/epp#serverTransferProhibited"
},
{
"status": "serverUpdateProhibited",
"url": "https://icann.org/epp#serverUpdateProhibited"
}
],
"nameServers": [
"NS1.GOOGLE.COM",
"NS2.GOOGLE.COM",
"NS3.GOOGLE.COM",
"NS4.GOOGLE.COM"
],
"registrantOrganization": "Unknown",
"registrantProvince": "Unknown",
"registrantCountry": "Unknown",
"registrantPhone": "+1 2086851750",
"registrantEmail": "Unknown",
"rawWhoisContent": "..."
}
}
```

</details>

<details>
<summary><strong>Fehlerantwort</strong> Internal Server Error (500)</summary>

```json
{
"time": 0.609,
"status": false,
"error": "No match for domain google.notfound (e.g. domain is not registered)"
}
```

</details>

<details>
<summary><strong>Fehlerantwort</strong> Bad Request (400)</summary>

```json
{
"time": -1,
"status": false,
"error": "Query is required"
}
```

</details>

## 🧠 Tech-Stack

- Next.js
- Shadcn UI & Tailwind CSS
- Whois Core Lib (@[whois-raw](https://www.npmjs.com/package/whois-raw))

## 💪 TLDs-Unterstützung

👉 [TLDs Whois Parser Lib Quellcode](./src/lib/whois/lib.ts)

❤ TIPP: Der Whois-Parser für einige TLDs ist möglicherweise derzeit nicht kompatibel. Vielen Dank für Ihren Beitrag [Pull Request](https://github.com/zmh-program/next-whois-ui/pulls), um dieses Projekt zu unterstützen, mehr TLDs zu unterstützen!
178 changes: 178 additions & 0 deletions README_JP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
<div align="center">

# 🧪 Next Whois UI

😎 現代的な Whois クエリツール

[English](README.md) · [简体中文](README_CN.md) · [繁體中文](README_TW.md) · [Русский](README_RU.md) · [日本語](README_JP.md) · [Deutsch](README_DE.md)

[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui)

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/zmh-program/next-whois-ui)

</div>

## 😎 特徴

多くを語る必要はありません、試してみてください! 🥳

1.**美しいUI**: [Shadcn UI](https://ui.shadcn.com)を使用したモダンなデザインで、快適に使用できます。
2. 📱 **レスポンシブ**: モバイル✅ / タブレット✅ / デスクトップ✅でうまく動作し、PWAアプリのサポートもあります。
3. 🌈 **マルチテーマ**: 複数のテーマをサポート(*ライト&ダーク*)、システムテーマの検出、好きなテーマに切り替え可能。
4. 🚀 **柔軟なクエリ**: Next.jsを使用しており、サーバーレスデプロイメントと高速クエリをサポート。
5. 📚 **履歴記録**: 履歴はローカルストレージに保存され、履歴の表示とクエリが簡単です。
6. 📡 **オープンAPI**: シンプルなWhoisクエリAPIで、他のサービスとの統合が容易です。
7. 🌍 **IPv4&IPv6 Whois**: IPv4、IPv6、ドメイン、ASN、CIDRのWhoisクエリをサポート。
8. 📦 **結果キャプチャ**: Whois結果をキャプチャし、共有や保存が簡単です。
9. 📡 **Whoisキャッシュ**: RedisベースのWhoisキャッシュをサポートし、クエリ速度を向上させます。
10. 🌍 [進行中] **国際化**: 複数の言語をサポート。 ([#6](https://github.com/zmh-program/next-whois-ui/issues/6))

👉 [プルリクエストを作成](https://github.com/zmh-program/next-whois-ui/pulls)

## デプロイ

#### `1` 🚀 プラットフォーム(推奨)

[Vercel](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui) / [Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/zmh-program/next-whois-ui) / [Zeabur](https://zeabur.com/templates/UHCCCT)

#### `2` 🐳 Docker

```bash
docker run -d -p 3000:3000 programzmh/next-whois-ui
```

#### `3` 🔨 ソースコード

```bash
git clone https://github.com/zmh-program/next-whois-ui
cd next-whois-ui

npm install -g pnpm
pnpm install
pnpm dev
```

## 📏 環境変数

### SEO

- `NEXT_PUBLIC_SITE_TITLE`: サイトタイトル
- `NEXT_PUBLIC_SITE_DESCRIPTION`: サイト説明
- `NEXT_PUBLIC_SITE_KEYWORDS`: サイトキーワード

### WHOIS

- `NEXT_PUBLIC_HISTORY_LIMIT`: 履歴制限(デフォルト値:6)
- `NEXT_PUBLIC_MAX_WHOIS_FOLLOW`: 最大ドメインWhoisフォロー数(デフォルト値:0)
- `NEXT_PUBLIC_MAX_IP_WHOIS_FOLLOW`: 最大IP Whoisフォロー数(デフォルト値:5)

### キャッシュ

- `REDIS_HOST`: Redisホスト(空の場合はキャッシュ無効)
- `REDIS_PORT`: Redisポート(デフォルト値:6379)
- `REDIS_PASSWORD`: Redisパスワード(オプション)
- `REDIS_DB`: Redisデータベース(デフォルト値:0)
- `REDIS_CACHE_TTL`: RedisキャッシュTTL秒数(デフォルト値:3600)

## 📝 APIリファレンス

`GET` `/api/lookup?query=google.com`

<details>
<summary><strong>レスポンス</strong> OK (200)</summary>

```json
{
"time": 1.547,
"status": true,
"cached": false,
"result": {
"domain": "GOOGLE.COM",
"registrar": "MarkMonitor Inc.",
"registrarURL": "http://www.markmonitor.com",
"ianaId": "292",
"whoisServer": "whois.markmonitor.com",
"updatedDate": "2019-09-09T15:39:04.000Z",
"creationDate": "1997-09-15T04:00:00.000Z",
"expirationDate": "2028-09-14T04:00:00.000Z",
"status": [
{
"status": "clientDeleteProhibited",
"url": "https://icann.org/epp#clientDeleteProhibited"
},
{
"status": "clientTransferProhibited",
"url": "https://icann.org/epp#clientTransferProhibited"
},
{
"status": "clientUpdateProhibited",
"url": "https://icann.org/epp#clientUpdateProhibited"
},
{
"status": "serverDeleteProhibited",
"url": "https://icann.org/epp#serverDeleteProhibited"
},
{
"status": "serverTransferProhibited",
"url": "https://icann.org/epp#serverTransferProhibited"
},
{
"status": "serverUpdateProhibited",
"url": "https://icann.org/epp#serverUpdateProhibited"
}
],
"nameServers": [
"NS1.GOOGLE.COM",
"NS2.GOOGLE.COM",
"NS3.GOOGLE.COM",
"NS4.GOOGLE.COM"
],
"registrantOrganization": "Unknown",
"registrantProvince": "Unknown",
"registrantCountry": "Unknown",
"registrantPhone": "+1 2086851750",
"registrantEmail": "Unknown",
"rawWhoisContent": "..."
}
}
```

</details>

<details>
<summary><strong>エラーレスポンス</strong> Internal Server Error (500)</summary>

```json
{
"time": 0.609,
"status": false,
"error": "No match for domain google.notfound (e.g. domain is not registered)"
}
```

</details>

<details>
<summary><strong>エラーレスポンス</strong> Bad Request (400)</summary>

```json
{
"time": -1,
"status": false,
"error": "Query is required"
}
```

</details>

## 🧠 技術スタック

- Next.js
- Shadcn UI & Tailwind CSS
- Whois Core Lib (@[whois-raw](https://www.npmjs.com/package/whois-raw))

## 💪 TLDsサポート

👉 [TLDs Whoisパーサーライブラリのソースコード](./src/lib/whois/lib.ts)

❤ ヒント: 一部のTLDsのWhoisパーサーは現在互換性がない場合があります。より多くのTLDsをサポートするために、あなたの[プルリクエスト](https://github.com/zmh-program/next-whois-ui/pulls)をお待ちしています!
Loading

0 comments on commit ad329f3

Please sign in to comment.