{"id":50882,"date":"2024-01-10T00:00:00","date_gmt":"2024-01-10T08:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/"},"modified":"2025-11-14T07:56:30","modified_gmt":"2025-11-14T15:56:30","slug":"building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb","status":"publish","type":"post","link":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/","title":{"rendered":"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<strong>Node.js<\/strong>\u3001<strong>Tauri<\/strong>\u3001\u304a\u3088\u3073 <strong>React<\/strong> \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u6398\u308a\u4e0b\u3052\u3066\u3044\u304d\u307e\u3059\u3002\u79c1\u305f\u3061\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u6c7a\u5b9a\u306e\u4e2d\u5fc3\u306f\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u30fb\u30cb\u30fc\u30ba\u306b <strong>GridDB<\/strong> \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u306a\u305c GridDB \u306a\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u305d\u308c\u306f WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u306e\u8907\u96d1\u3055\u3092\u30ca\u30d3\u30b2\u30fc\u30c8\u3059\u308b\u4e2d\u3067\u3001\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u52b9\u7387\u7684\u306a\u30b9\u30c8\u30ec\u30fc\u30b8\u30fb\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u6700\u3082\u91cd\u8981\u306b\u306a\u308b\u304b\u3089\u3067\u3059\u3002\u30e6\u30cb\u30fc\u30af\u306a\u6a5f\u80fd\u3068\u6700\u9069\u5316\u3055\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7279\u6027\u3092\u6301\u3064 GridDB \u306f\u3001\u7406\u60f3\u7684\u306a\u5019\u88dc\u3068\u3057\u3066\u6d6e\u4e0a\u3057\u307e\u3057\u305f\u3002Node.js \u306e\u591a\u7528\u9014\u6027\u3001React \u306e\u8c4a\u5bcc\u306a\u30e6\u30fc\u30b6\u30fc\u30fb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u6a5f\u80fd\u3001Tauri \u306e\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5229\u70b9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u52b9\u679c\u7684\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3078\u306e\u5168\u4f53\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u63d0\u793a\u3059\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h2>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u30b9\u30c6\u30c3\u30d7\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u6e96\u5099<\/h3>\n<p>\u3053\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3001Windows 11 \u3068 WSL2 \u4e0a\u306e Ubuntu 20.04 \u3067\u30c6\u30b9\u30c8\u3055\u308c\u3001Windows \u4e0a\u306e <strong>Npcap<\/strong> \u3067\u3042\u308b\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30d1\u30b1\u30c3\u30c8\u30fb\u30ad\u30e3\u30d7\u30c1\u30e3\u306b\u5927\u304d\u304f\u4f9d\u5b58\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u524d\u306b Windows \u30b7\u30b9\u30c6\u30e0\u306b WiFi \u30c7\u30d0\u30a4\u30b9\u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f1\u3064\u306e WiFi \u30c7\u30d0\u30a4\u30b9\u3067\u306e\u307f\u30c6\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/blockquote>\n<h4>Npcap \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p><a href=\"https:\/\/npcap.com\/\">Npcap<\/a> \u306f Microsoft Windows \u7528\u306e\u30d1\u30b1\u30c3\u30c8\u30ad\u30e3\u30d7\u30c1\u30e3\u3068\u9001\u4fe1\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u5f8c\u3067 <a href=\"https:\/\/github.com\/mscdex\/cap\"><code>cap<\/code><\/a> \u306e\u3088\u3046\u306a node.js npm \u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u4e00\u7dd2\u306b\u4f7f\u3063\u3066\u30d1\u30b1\u30c3\u30c8\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u307e\u305a\u3053\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Npcap \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/npcap.com\/#download\">\u540c\u793e\u306e\u30b5\u30a4\u30c8<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u624b\u9593\u3092\u304b\u3051\u305a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u9069\u5207\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306e\u7a2e\u985e\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u306f\u3001\u3059\u3079\u3066\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/01\/npcap-windows.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/01\/npcap-windows.png\" alt=\"\" width=\"499\" height=\"388\" class=\"aligncenter size-full wp-image-29893\" srcset=\"\/wp-content\/uploads\/2024\/01\/npcap-windows.png 499w, \/wp-content\/uploads\/2024\/01\/npcap-windows-300x233.png 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/a><\/p>\n<h3>Windows \u4e0a\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b<\/h3>\n<p>\u3053\u306e <a href=\"https:\/\/github.com\/junwatu\/bearsakura-netwatch\">GitHub \u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u304b\u3089\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/p>\n<p>\u7570\u306a\u308b\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30fb\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u52d5\u4f5c\u3059\u308b2\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u3042\u308a\u307e\u3059\u30021\u3064\u76ee\u306f\u3001Windows \u4e0a\u3067\u52d5\u4f5c\u3059\u308b\u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b <strong>Node.js<\/strong> \u30b5\u30fc\u30d0\u30fc\u3067\u3001<strong>Node.js \u30d5\u30a9\u30ef\u30fc\u30c0\u30fc<\/strong> \u3068\u547c\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p><strong>Node.js \u30d5\u30a9\u30ef\u30fc\u30c0\u30fc<\/strong>\u306f WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u3001Linux \u4e0a\u306e <strong>Node.js<\/strong> \u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3057\u307e\u3059\u3002Linux \u4e0a\u306e <strong>Node.js<\/strong> \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u305f\u30d1\u30b1\u30c3\u30c8\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3057\u3001<strong>Tauri<\/strong> \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30c7\u30fc\u30bf\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h4>Node.js \u30d5\u30a9\u30ef\u30fc\u30c0\u30fc<\/h4>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">git clone git@github.com:junwatu\/bearsakura-netwatch.git<\/code><\/pre>\n<\/div>\n<p><code>server<\/code> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3001\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">cd server\nnpm install<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u30d1\u30b1\u30c3\u30c8\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3059\u308b\u306b\u306f\u3001<code>node-gyp<\/code> \u3092\u5fc5\u8981\u3068\u3059\u308b <code>cap<\/code> npm \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3063\u3066\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002\u3053\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u306f Node.js \u3068 Npcap \u306e\u6a4b\u6e21\u3057\u3068\u306a\u308a\u307e\u3059\u3002<code>npm install<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30cd\u30a4\u30c6\u30a3\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u78ba\u5b9f\u306b\u52d5\u4f5c\u3055\u305b\u308b\u306b\u306f\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">npm install -g node-gyp<\/code><\/pre>\n<\/div>\n<p>\u3057\u304b\u3057\u3001<code>node-gyp<\/code> \u81ea\u4f53\u306b\u306f Python \u3084 C++ \u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u3088\u3046\u306a\u4f9d\u5b58\u95a2\u4fc2\u304c\u3042\u308a\u3001\u6b63\u3057\u304f\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u306f\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<a href=\"https:\/\/www.npmjs.com\/package\/node-gyp#on-windows\">node-gyp \u306e Windows \u5411\u3051\u30ac\u30a4\u30c9<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4><code>env<\/code> \u306e\u8a2d\u5b9a<\/h4>\n<p><code>.env<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3001\u5fc5\u8981\u3067\u3042\u308c\u3070\u30dd\u30fc\u30c8\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">PACKET_PORT=5000\nDATABASE_SERVER_PORT=4000<\/code><\/pre>\n<\/div>\n<ul>\n<li><code>PACKET_PORT<\/code> \u306f\u3001Windows \u4e0a\u306e Node.js \u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u304c\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30dd\u30fc\u30c8\u3067\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li><code>DATABASE_SERVER_PORT=4000<\/code> \u306f\u3001Linux \u4e0a\u306e Node.js \u30b5\u30fc\u30d0\u30fc\u304c\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30dd\u30fc\u30c8\u3067\u3059\u3002<\/li>\n<\/ul>\n<h4>Node.js \u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u306e\u5b9f\u884c<\/h4>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f Windows \u4e0a\u3067 Node.js \u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">npm run dev<\/code><\/pre>\n<\/div>\n<h3>Linux \u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b<\/h3>\n<p>\u3053\u306e<a href=\"https:\/\/github.com\/junwatu\/bearsakura-netwatch\">GitHub \u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u304b\u3089\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<code>server-db<\/code> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3001\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">cd server-db\nnpm install<\/code><\/pre>\n<\/div>\n<h4>Linux \u30b5\u30fc\u30d0\u30fc\u306e <code>env<\/code> \u3092\u8a2d\u5b9a\u3059\u308b<\/h4>\n<p><code>.env<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30dd\u30fc\u30c8\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">DATABASE_SERVER_PORT=4000<\/code><\/pre>\n<\/div>\n<p>\u306e\u30dd\u30fc\u30c8\u304c <strong>Node.js Forwarder<\/strong> \u306e <code>.env<\/code> \u8a2d\u5b9a\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<code>.env<\/code> \u8a2d\u5b9a\u304c <code>DATABASE_SERVER_PORT=3000<\/code> \u306e\u5834\u5408\u3001\u3053\u306e\u30dd\u30fc\u30c8\u3082 <code>3000<\/code> \u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<h4>Linux \u4e0a\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u5b9f\u884c\u3059\u308b<\/h4>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f Linux \u4e0a\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">npm run dev<\/code><\/pre>\n<\/div>\n<h3>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30e2\u30cb\u30bf\u30fc\u3092\u5b9f\u884c\u3059\u308b<\/h3>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3092<a href=\"https:\/\/github.com\/junwatu\/bearsakura-netwatch\/releases\/download\/v0.1.0\/BearWatch_0.1.0_x64-setup.exe\">\u3053\u3061\u3089<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u5b9f\u884c\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p><code>config.json<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\n{\n    \"api\": {\n        \"base_url\": \"http:\/\/localhost:4000\"\n    }\n}<\/code><\/pre>\n<\/div>\n<p><code>.env<\/code> \u306e\u8a2d\u5b9a <code>DATABASE_SERVER_PORT=4000<\/code> \u3068 <code>base_url<\/code> \u306e\u30dd\u30fc\u30c8\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<code>.env<\/code> \u8a2d\u5b9a\u304c <code>DATABASE_SERVER_PORT=3000<\/code> \u306e\u5834\u5408\u3001<code>base_url<\/code> \u306f <code>http:\/\/localhost:3000<\/code> \u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u3001<code>BearWacth.exe<\/code> \u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/01\/desktop.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/01\/desktop.png\" alt=\"\" width=\"852\" height=\"632\" class=\"aligncenter size-full wp-image-29891\" srcset=\"\/wp-content\/uploads\/2024\/01\/desktop.png 852w, \/wp-content\/uploads\/2024\/01\/desktop-300x223.png 300w, \/wp-content\/uploads\/2024\/01\/desktop-768x570.png 768w, \/wp-content\/uploads\/2024\/01\/desktop-600x445.png 600w\" sizes=\"(max-width: 852px) 100vw, 852px\" \/><\/a><\/p>\n<h2>\u30b7\u30b9\u30c6\u30e0\u30fb\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/h2>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/01\/system-arch.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/01\/system-arch.png\" alt=\"\" width=\"1357\" height=\"802\" class=\"aligncenter size-full wp-image-29890\" srcset=\"\/wp-content\/uploads\/2024\/01\/system-arch.png 1357w, \/wp-content\/uploads\/2024\/01\/system-arch-300x177.png 300w, \/wp-content\/uploads\/2024\/01\/system-arch-1024x605.png 1024w, \/wp-content\/uploads\/2024\/01\/system-arch-768x454.png 768w, \/wp-content\/uploads\/2024\/01\/system-arch-600x355.png 600w\" sizes=\"(max-width: 1357px) 100vw, 1357px\" \/><\/a><\/p>\n<p>Desktop WiFi Network Monitor \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u4e2d\u3067\u3001<strong>Npcap<\/strong> \u306f Windows OS \u306b\u6700\u9069\u5316\u3055\u308c\u305f\u5f37\u529b\u306a\u30d1\u30b1\u30c3\u30c8\u30ad\u30e3\u30d7\u30c1\u30e3\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u969b\u7acb\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u306f\u3001WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d1\u30b1\u30c3\u30c8\u3092\u7d99\u7d9a\u7684\u306b\u53d6\u5f97\u3057\u3001\u305d\u306e\u5f8c\u3001\u5c02\u7528\u306e <strong>Node.js Forwarder<\/strong> \u306b\u9001\u308a\u307e\u3059\u3002\u3053\u306e\u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u306f\u305d\u306e\u5f8c\u3001<strong>GridDB<\/strong> \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b <strong>Node.js Server<\/strong> \u306b\u30d1\u30b1\u30c3\u30c8\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\u307e\u305f\u3001<strong>Node.js Server<\/strong> \u306f\u3001\u30c7\u30fc\u30bf\u3092\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30fb\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u8868\u793a\u3059\u308b <strong>Desktop Dashboard Monitor<\/strong> \u306b\u30c7\u30fc\u30bf\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306e\u30ad\u30e3\u30d7\u30c1\u30e3<\/h2>\n<p>Node.js \u3092\u4f7f\u7528\u3057\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3059\u308b\u306b\u306f\u3001\u901a\u5e38\u3001<strong>libpcap<\/strong> (Unix \u7cfb\u30b7\u30b9\u30c6\u30e0) \u3084 <strong>WinPcap\/Npcap<\/strong> (Windows \u7cfb\u30b7\u30b9\u30c6\u30e0) \u306e\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u30ec\u30d9\u30eb\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3059\u308b\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u306e\u6295\u7a3f\u3067\u306f <strong>Windows OS<\/strong> \u3068 <strong>Npcap<\/strong> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h2>Node.js \u3068 GridDB \u306b\u3088\u308b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u958b\u767a<\/h2>\n<h3>Node.js<\/h3>\n<p>Node.js\u00ae \u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0 JavaScript \u5b9f\u884c\u74b0\u5883\u3067\u3059\u3002Windows \u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306f<a href=\"https:\/\/nodejs.org\/en\/download\">\u3053\u3061\u3089<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u306f Node.js LTS v18.18.0 \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002Windows \u306b Node.js \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u304c\u3001\u5f7c\u3089\u306e<a href=\"https:\/\/nodejs.dev\/en\/\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<a href=\"https:\/\/chocolatey.org\/\">chocolatey<\/a> \u306e\u3088\u3046\u306a\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e Windows \u30d1\u30c3\u30b1\u30fc\u30b8\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u4f7f\u7528\u3057\u305f\u308a\u3001\u624b\u52d5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Node.js \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">node --version<\/code><\/pre>\n<\/div>\n<h3>GridDB<\/h3>\n<p>GridDB \u306f\u3001\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u306b\u7279\u5316\u3057\u305f\u62e1\u5f35\u6027\u306e\u9ad8\u3044 NoSQL \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002\u72ec\u81ea\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u57fa\u3065\u304d\u3001\u30a4\u30f3\u30e1\u30e2\u30ea\u3068\u30c7\u30a3\u30b9\u30af\u30d9\u30fc\u30b9\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u4e21\u65b9\u3092\u63d0\u4f9b\u3057\u3001\u6700\u9069\u5316\u3055\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30c7\u30fc\u30bf\u306e\u8010\u4e45\u6027\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002\u305d\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306f\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001IoT\u3001\u9060\u9694\u6e2c\u5b9a\u3001\u304a\u3088\u3073\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u304c\u91cd\u8981\u306a\u3042\u3089\u3086\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u9069\u3057\u305f\u9078\u629e\u80a2\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30b3\u30a2\u6a5f\u80fd\u3060\u3051\u3067\u306a\u304f\u3001GridDB \u306f\u81ea\u52d5\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30cb\u30f3\u30b0\u3084\u5805\u7262\u306a\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u30fb\u30e1\u30ab\u30cb\u30ba\u30e0\u306a\u3069\u306e\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8a87\u308a\u3001\u30c7\u30fc\u30bf\u306e\u4e00\u8cab\u6027\u3068\u9ad8\u53ef\u7528\u6027\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/docs.griddb.net\">GridDB \u516c\u5f0f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Node.js \u306b\u3088\u308b\u30d1\u30b1\u30c3\u30c8\u30fb\u30ad\u30e3\u30d7\u30c1\u30e3<\/h3>\n<p>\u30d1\u30b1\u30c3\u30c8\u30fb\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u30b3\u30fc\u30c9\u306f\u975e\u5e38\u306b\u7c21\u5358\u3067\u3059\u3002<code>startCapturing(ipAddress)<\/code> \u95a2\u6570\u304c\u30d1\u30b1\u30c3\u30c8\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u958b\u59cb\u3057\u307e\u3059\u3002WiFi \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u691c\u51fa\u3057\u3001\u30d1\u30b1\u30c3\u30c8\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<code>getPackets()<\/code> \u95a2\u6570\u306f\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u305f\u30d1\u30b1\u30c3\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">import pkg from 'cap';\nconst { Cap, decoders } = pkg;\n\nconst PROTOCOL = decoders.PROTOCOL;\n\nlet packets = [];\n\nfunction startCapturing(ipAddress) {\n    const c = new Cap();\n    const device = Cap.findDevice(ipAddress);\n    const filter = 'ip';\n    const bufSize = 10 * 1024 * 1024;\n    const buffer = Buffer.alloc(65535);\n\n    const devices = Cap.deviceList();\n    const wifiDevice = devices.find(device => {\n        const description = device.description.toLowerCase();\n        return description.includes('wireless') || description.includes('wi-fi');\n    });\n\n    if (!wifiDevice) {\n        console.error('No Wi-Fi device found!');\n        process.exit(1);\n    }\n\n    const wifiInterfaceName = wifiDevice.name;\n    const linkType = c.open(wifiInterfaceName, filter, bufSize, buffer);\n\n    c.on('packet', function(nbytes, trunc) {\n        const ret = decoders.Ethernet(buffer);\n\n        if (ret.info.type === 2048) {\n            const decodedIP = decoders.IPV4(buffer, ret.offset);\n            const srcaddr = decodedIP.info.srcaddr;\n            const dstaddr = decodedIP.info.dstaddr;\n\n            let packetInfo = {\n                length: nbytes,\n                srcaddr: srcaddr,\n                dstaddr: dstaddr\n            };\n\n            if (decodedIP.info.protocol === PROTOCOL.IP.TCP) {\n                const decodedTCP = decoders.TCP(buffer, decodedIP.offset);\n                packetInfo.protocol = 'TCP';\n                packetInfo.srcport = decodedTCP.info.srcport;\n                packetInfo.dstport = decodedTCP.info.dstport;\n            } else if (decodedIP.info.protocol === PROTOCOL.IP.UDP) {\n                const decodedUDP = decoders.UDP(buffer, decodedIP.offset);\n                packetInfo.protocol = 'UDP';\n                packetInfo.srcport = decodedUDP.info.srcport;\n                packetInfo.dstport = decodedUDP.info.dstport;\n            }\n\n            packets.push(packetInfo);\n\n            \/\/ Limit the storage to the last 100 entries (or any other number)\n            if (packets.length > 100) packets.shift();\n        }\n    });\n}\n\nfunction getPackets() {\n    return packets;\n}\n\nexport { startCapturing, getPackets };<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30d1\u30b1\u30c3\u30c8\u306f <code>http:\/\/localhost:5000\/packets<\/code> \u3067\u30db\u30b9\u30c8\u3055\u308c\u307e\u3059\uff08\u30dd\u30fc\u30c8\u3068\u30db\u30b9\u30c8\u306f <code>.env<\/code> \u3067\u306e\u8a2d\u5b9a\u306b\u4f9d\u5b58\u3057\u307e\u3059\uff09\u3002\u3053\u306e Node.js \u30b5\u30fc\u30d0\u30fc\u306f\u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002Express.js \u4e0a\u3067\u52d5\u4f5c\u3057\u3001\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u305f\u30d1\u30b1\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b <code>startCapturing<\/code> \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">\nimport 'dotenv\/config';\nimport express from 'express';\nimport bodyParser from 'body-parser';\nimport axios from 'axios';\nimport * as packetCapturer from '.\/packetCapturer.js';\n\nconst app = express();\napp.use(bodyParser.json());\n\nconst PORT = process.env.PACKET_PORT || 3000;\nconst HOST = process.env.PACKET_IP_ADDRESS || 'localhost';\nconst SERVER_DB_HOST = process.env.DATABASE_SERVER || 'localhost';\nconst SERVER_DB_PORT = process.env.DATABASE_SERVER_PORT || 4000;\n\npacketCapturer.startCapturing(process.env.PACKET_IP_ADDRESS);\n\nsetInterval(async () => {\n    const packets = packetCapturer.getPackets();\n    try {\n        await axios.post(`http:\/\/${SERVER_DB_HOST}:${SERVER_DB_PORT}\/save-packets`, packets);\n        console.log('Packets sent successfully');\n    } catch (error) {\n        console.error('Error sending packets:', error);\n    }\n}, 5000);  \/\/ Adjust the interval to your needs\n\n\napp.get('\/packets', (req, res) => {\n    res.json(packetCapturer.getPackets());\n});\n\napp.listen(PORT, HOST, () => {\n    console.log(`Server started on http:\/\/${HOST}:${PORT}`);\n});<\/code><\/pre>\n<\/div>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067 <code>http:\/\/localhost:5000\/packets<\/code> \u3092\u958b\u304f\u3068\u3001Linux \u4e0a\u306e Node.js \u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3059\u308b\u524d\u306e\u30d1\u30b1\u30c3\u30c8\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d5\u30a9\u30ef\u30fc\u30c0\u306f Linux \u4e0a\u306e Node.js \u30b5\u30fc\u30d0\u306b 5 \u79d2\u3054\u3068\u306b\u30d1\u30b1\u30c3\u30c8\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<h3>Node.js \u30b5\u30fc\u30d0\u30fc<\/h3>\n<p>Node.js \u30b5\u30fc\u30d0\u30fc\u306f Linux \u4e0a\u3067\u52d5\u4f5c\u3059\u308b\u30b7\u30f3\u30d7\u30eb\u306a Node.js \u30b5\u30fc\u30d0\u30fc\u3067\u3042\u308a\u3001\u30ad\u30e3\u30d7\u30c1\u30e3\u3055\u308c\u305f\u30d1\u30b1\u30c3\u30c8\u3092\u53d7\u3051\u53d6\u308a\u3001GridDB \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u683c\u7d0d\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u306f <code>http:\/\/localhost:4000<\/code> \u3067\u52d5\u4f5c\u3057\u307e\u3059\uff08\u30dd\u30fc\u30c8\u306f <code>.env<\/code> \u306e\u8a2d\u5b9a\u306b\u4f9d\u5b58\u3057\u307e\u3059\uff09\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">import 'dotenv\/config';\nimport cors from 'cors';\nimport express from 'express';\nimport bodyParser from 'body-parser';\nimport* as griddb from '.\/griddbservice.js'\n\nconst app = express();\napp.use(cors());\napp.use(bodyParser.json());\n\nconst PORT = process.env.DATABASE_SERVER_PORT || 4000;\nconst HOST = process.env.DATABASE_SERVER || 'localhost';\n\napp.get(\n    '\/info', (req, res) = > { res.json({message : 'database server'}); });\n\napp.post(\n    '\/save-packets', async(req, res) = > {\n      const packets = req.body;\n\n      for (let packet of packets) {\n        const {length, srcaddr, dstaddr, protocol, srcport, dstport} = packet;\n        await griddb.saveData(\n            {length, srcaddr, dstaddr, protocol, srcport, dstport});\n      }\n\n      res.json({message : 'saved'});\n    });\n\napp.get('\/get-all-packets', async (req, res) => {\n  const packets = await griddb.getAllData();\n  res.json({packets});\n})\n\napp.listen(PORT, HOST, () => {\n    console.log(`Server started on http:\/\/${HOST}:${PORT}`);\n});<\/code><\/pre>\n<\/div>\n<p>\u30d1\u30b1\u30c3\u30c8\u30c7\u30fc\u30bf\u306f <code>\/save-packets<\/code> \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e <code>POST<\/code> \u30e1\u30bd\u30c3\u30c9\u3067\u53d7\u4fe1\u3057\u307e\u3059\u3002<code>saveData<\/code> \u95a2\u6570\u306f\u30c7\u30fc\u30bf\u3092 GridDB \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">await griddb.saveData({length, srcaddr, dstaddr, protocol, srcport, dstport});<\/code><\/pre>\n<\/div>\n<p><code>getAllData<\/code> \u95a2\u6570\u306f GridDB \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u5168\u3066\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u306f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">app.get('\/get-all-packets', async (req, res) => {\n  const packets = await griddb.getAllData();\n  res.json({packets});\n})<\/code><\/pre>\n<\/div>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067 <code>http:\/\/localhost:4000\/get-all-packets<\/code> \u3092\u958b\u3051\u3070\u3001\u30d1\u30b1\u30c3\u30c8\u30c7\u30fc\u30bf\u304c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Tauri \u3068 React \u306b\u3088\u308b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a<\/h2>\n<h3>Tauri<\/h3>\n<p><a href=\"https:\/\/tauri.app\/\">Tauri<\/a> \u306f\u3001Web \u6280\u8853\u3092\u4f7f\u3063\u3066\u5c0f\u3055\u304f\u3001\u5b89\u5168\u3067\u3001\u9ad8\u901f\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u30ad\u30c3\u30c8\u3067\u3059\u3002Tauri \u306f <a href=\"https:\/\/www.electronjs.org\/\">Electron<\/a> \u3068\u7af6\u5408\u3059\u308b\u3082\u306e\u3067\u3001Web \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u3001\u3088\u308a\u30b9\u30ea\u30e0\u3067\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u9ad8\u3044\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u3066\u3044\u307e\u3059\u3002Electron \u304c\u305d\u3046\u3067\u3042\u308b\u3088\u3046\u306b\u3001Chromium \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5168\u4f53\u3092\u30d0\u30f3\u30c9\u30eb\u3059\u308b\u3053\u3068\u306b\u4f34\u3046\u80a5\u5927\u5316\u3084\u6f5c\u5728\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u554f\u984c\u3092\u6e1b\u3089\u3057\u3064\u3064\u3001\u958b\u767a\u8005\u304c\u4f7f\u3044\u6163\u308c\u305f\u30a6\u30a7\u30d6\u6280\u8853\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u6838\u5fc3\u7684\u306a\u30a2\u30a4\u30c7\u30a2\u3067\u3059\u3002<\/p>\n<p>Tauri \u306f <a href=\"https:\/\/www.rust-lang.org\/\">Rust<\/a> \u3068\u3044\u3046\u30e1\u30e2\u30ea\u30fb\u30bb\u30fc\u30d5\u306a\u8a00\u8a9e\u3067\u69cb\u7bc9\u3055\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u30b3\u30a2\u306f\u975e\u5e38\u306b\u8efd\u91cf\u306a\u30a6\u30a7\u30d6\u30d3\u30e5\u30fc\u30fb\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30fb\u30a8\u30f3\u30b8\u30f3\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001Electron \u3068\u6bd4\u8f03\u3057\u3066\u3001\u30d0\u30a4\u30ca\u30ea\u30b5\u30a4\u30ba\u3092\u5927\u5e45\u306b\u5c0f\u3055\u304f\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u4f7f\u7528\u91cf\u3092\u524a\u6e1b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u5fc5\u8981\u306a\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u6700\u5c0f\u5316\u3057\u3001\u30a6\u30a7\u30d6\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u5206\u96e2\u3059\u308b\u3053\u3068\u3067\u3001\u5f37\u529b\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30e2\u30c7\u30eb\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Tauri \u304c\u958b\u767a\u3055\u308c\u305f\u80cc\u666f\u306b\u306f\u3001\u30b5\u30a4\u30ba\u3001\u30b9\u30d4\u30fc\u30c9\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u95a2\u3059\u308b Electron \u306e\u4e00\u822c\u7684\u306a\u6279\u5224\u306b\u5bfe\u51e6\u3059\u308b\u4e00\u65b9\u3067\u3001Web \u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u304c\u63d0\u4f9b\u3059\u308b\u958b\u767a\u306e\u5bb9\u6613\u3055\u3068\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u6a5f\u80fd\u3092\u7dad\u6301\u3059\u308b\u3068\u3044\u3046\u52d5\u6a5f\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>React<\/h3>\n<p><a href=\"https:\/\/react.dev\/\">React<\/a> \u306f\u3001\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e JavaScript \u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3001Facebook \u3068\u500b\u3005\u306e\u958b\u767a\u8005\u3084\u4f01\u696d\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u3088\u3063\u3066\u4fdd\u5b88\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8907\u96d1\u3067\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a UI \u3092\u52b9\u7387\u7684\u304b\u3064\u67d4\u8edf\u306b\u958b\u767a\u3059\u308b\u305f\u3081\u306b\u4f5c\u3089\u308c\u307e\u3057\u305f\u3002React \u306e <a href=\"https:\/\/reactjs.org\/docs\/faq-internals.html\">Virtual DOM<\/a> \u306f\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u3055\u3089\u306b\u6700\u9069\u5316\u3057\u3001\u30a2\u30d7\u30ea\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002React \u306e\u5ba3\u8a00\u7684\u306a\u6027\u8cea\u306f\u30b3\u30fc\u30c9\u3092\u5358\u7d14\u5316\u3057\u3001\u30c7\u30d0\u30c3\u30b0\u3068\u7ba1\u7406\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30d9\u30fc\u30b9\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u81ea\u8eab\u306e\u72b6\u614b\u3092\u7ba1\u7406\u3059\u308b\u30ab\u30d7\u30bb\u30eb\u5316\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u305d\u308c\u3089\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u8907\u96d1\u306a UI \u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002React \u306f\u307e\u305f\u3001\u30c7\u30fc\u30bf\u306e\u5909\u66f4\u306b\u5fdc\u3058\u3066\u52b9\u7387\u7684\u306b\u66f4\u65b0\u30fb\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3067\u304d\u308b\u30a6\u30a7\u30d6\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u80fd\u529b\u3092\u958b\u767a\u8005\u306b\u4e0e\u3048\u307e\u3059\u3002<\/p>\n<h3>Tauri \u3068 React<\/h3>\n<p>Tauri \u3068 React \u306e\u30b3\u30fc\u30c9\u306f <code>desktop<\/code> \u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308a\u307e\u3059\u3002\u30d3\u30eb\u30c9\u3059\u308b\u306b\u306f Rust \u3068 node.js \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u8a73\u3057\u304f\u306f <a href=\"https:\/\/tauri.app\/v1\/guides\/getting-started\/prerequisites\">Tauri \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ac\u30a4\u30c9<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30e2\u30cb\u30bf\u30fc\u306e\u4e3b\u306a UI \u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">import React, { useState, useEffect } from 'react'\nimport PacketVisualization from '.\/packet-visualization'\nimport { invoke } from \"@tauri-apps\/api\/tauri\";\n\nimport \".\/App.css\";\n\nfunction App() {\n  const [packetData, setPacketData] = useState(null)\n  const [apiBaseUrl, setApiBaseUrl] = useState(null)\n\n  useEffect(() => {\n    async function fetchPacketData() {\n      const config = await invoke('read_config');\n      const apiBaseUrlConfig = await invoke('get_api_base_url', { config: config });\n      const response = await fetch(`${apiBaseUrlConfig}\/get-all-packets`)\n      const data = await response.json()\n\n      setPacketData(data)\n      setApiBaseUrl(apiBaseUrlConfig)\n    }\n  \n    fetchPacketData()\n    \n    \/\/ fetch every 5 seconds\n    const intervalId = setInterval(fetchPacketData, 5000)  \n    \/\/ cleanup interval on component unmount\n    return () => clearInterval(intervalId)  \n  }, [])\n  \n\n  return (\n    &lt;div className=\"container\">\n      {packetData && &lt;packetvisualization data={packetData}>&lt;\/packetvisualization>}\n      &lt;p className='packet-server'>\n        Packet Server: {apiBaseUrl}\n      &lt;\/p>\n    &lt;\/div>\n  );\n}\n\nexport default App;<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f <code>config.json<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080 Rust \u30b3\u30fc\u30c9\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">const config = await invoke('read_config');\nconst apiBaseUrlConfig = await invoke('get_api_base_url', { config: config });\nconst response = await fetch(`${apiBaseUrlConfig}\/get-all-packets`)<\/code><\/pre>\n<\/div>\n<p>JavaScript \u306e\u30b3\u30fc\u30c9\u306f <code>config.json<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067 <code>apiBaseUrl<\/code> \u306e\u8a2d\u5b9a\u3092\u53d6\u5f97\u3059\u308b Rust \u306e\u30b3\u30fc\u30c9\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<code>apiBaseUrl<\/code> \u306e\u8a2d\u5b9a\u306f <code>config.json<\/code> \u30d5\u30a1\u30a4\u30eb\u306e <code>base_url<\/code> \u306e\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\n{\n    \"api\": {\n        \"base_url\": \"http:\/\/localhost:4000\"\n    }\n}<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u306f <code>config.json<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080 Rust \u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-rust\">\n\/\/ Prevents additional console window on Windows in release, DO NOT REMOVE!!\n#![cfg_attr(not(debug_assertions), windows_subsystem = \"windows\")]\n\nuse std::fs;\nuse serde_json::Value;\n\n\/\/ Learn more about Tauri commands at https:\/\/tauri.app\/v1\/guides\/features\/command\n#[tauri::command]\nfn greet(name: &str) -> String {\n    format!(\"Hello, {}! You've been greeted from Rust!\", name)\n}\n\n#[tauri::command]\nfn read_config() -> Result&lt;String, String> {\n  let path = \"config.json\";\n  let config = fs::read_to_string(path).map_err(|e| e.to_string())?;\n  Ok(config)\n}\n\n#[tauri::command]\nfn get_api_base_url(config: String) -> Result&lt;String, String> {\n  let parsed_config: Value = serde_json::from_str(&config).map_err(|e| e.to_string())?;\n  let base_url = parsed_config\n    .get(\"api\")\n    .and_then(|api| api.get(\"base_url\"))\n    .and_then(|base_url| base_url.as_str())\n    .ok_or(\"Missing 'api.base_url' setting\")?;\n  Ok(base_url.to_string())\n}\n\nfn main() {\n    tauri::Builder::default()\n        .invoke_handler(tauri::generate_handler![greet, read_config, get_api_base_url])\n        .run(tauri::generate_context!())\n        .expect(\"error while running tauri application\");\n}<\/code><\/pre>\n<\/div>\n<p>JavaScript \u304b\u3089\u547c\u3073\u51fa\u3057\u305f\u3044\u30ab\u30b9\u30bf\u30e0\u30e1\u30bd\u30c3\u30c9\u306f\u3059\u3079\u3066 <code>tauri::Builder::default().invoke_handler<\/code> \u30e1\u30bd\u30c3\u30c9\u306b\u767b\u9332\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001JavaScript \u304b\u3089 <code>read_config<\/code> \u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u305f\u3044\u306e\u3067\u3001<code>tauri::Builder::default().invoke_handler<\/code> \u30e1\u30bd\u30c3\u30c9\u306b\u767b\u9332\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u5c06\u6765\u306e\u62e1\u5f35<\/h2>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30e2\u30cb\u30bf\u30fc\u306f\u6982\u5ff5\u5b9f\u8a3c (PoC) \u3067\u3042\u308a\u3001\u6539\u5584\u3067\u304d\u308b\u70b9\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002\u4eca\u5f8c\u6a5f\u80fd\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u671b\u307e\u3057\u3044\u70b9\u3092\u3044\u304f\u3064\u304b\u5217\u6319\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u7570\u306a\u308b\u30de\u30b7\u30f3\u3067\u306e\u52d5\u4f5c<\/li>\n<li>\u3088\u308a\u826f\u3044\u30d1\u30b1\u30c3\u30c8\u53ef\u8996\u5316<\/li>\n<li>\u3088\u308a\u826f\u3044\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30d7\u30ed\u30bb\u30b9\u3068\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Node.js\u3001Tauri\u3001\u304a\u3088\u3073 React \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u6398\u308a\u4e0b\u3052\u3066\u3044\u304d\u307e\u3059\u3002\u79c1\u305f\u3061\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u6c7a\u5b9a [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":50883,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50882","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Node.js\u3001Tauri\u3001\u304a\u3088\u3073 React \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Node.js\u3001Tauri\u3001\u304a\u3088\u3073 React \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-10T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:56:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1170\" \/>\n\t<meta property=\"og:image:height\" content=\"650\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"6\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9\",\"datePublished\":\"2024-01-10T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/\"},\"wordCount\":206,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/\",\"url\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/\",\"name\":\"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png\",\"datePublished\":\"2024-01-10T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:30+00:00\",\"description\":\"\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Node.js\u3001Tauri\u3001\u304a\u3088\u3073 React \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png\",\"contentUrl\":\"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png\",\"width\":1170,\"height\":650},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.griddb.net\/en\/#website\",\"url\":\"https:\/\/www.griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/www.griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/griddb.net\/ja\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT","description":"\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Node.js\u3001Tauri\u3001\u304a\u3088\u3073 React \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/","og_locale":"ja_JP","og_type":"article","og_title":"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT","og_description":"\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Node.js\u3001Tauri\u3001\u304a\u3088\u3073 React \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi","og_url":"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2024-01-10T08:00:00+00:00","article_modified_time":"2025-11-14T15:56:30+00:00","og_image":[{"width":1170,"height":650,"url":"https:\/\/griddb.net\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png","type":"image\/png"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"griddb-admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"6\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#article","isPartOf":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/"},"author":{"name":"griddb-admin","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9","datePublished":"2024-01-10T08:00:00+00:00","dateModified":"2025-11-14T15:56:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/"},"wordCount":206,"commentCount":0,"publisher":{"@id":"https:\/\/www.griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/","url":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/","name":"Tauri\u3001React\u3001Node.js\u3001GridDB \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30fb\u30e2\u30cb\u30bf\u30fc\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/www.griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage"},"image":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png","datePublished":"2024-01-10T08:00:00+00:00","dateModified":"2025-11-14T15:56:30+00:00","description":"\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Node.js\u3001Tauri\u3001\u304a\u3088\u3073 React \u306e\u3088\u3046\u306a\u6280\u8853\u3092\u8907\u96d1\u306b\u7e54\u308a\u4ea4\u305c\u306a\u304c\u3089\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 WiFi","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-desktop-wifi-network-monitor-with-tauri-react-node-js-and-griddb\/#primaryimage","url":"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png","contentUrl":"\/wp-content\/uploads\/2024\/02\/system-arch-1170x650-1.png","width":1170,"height":650},{"@type":"WebSite","@id":"https:\/\/www.griddb.net\/en\/#website","url":"https:\/\/www.griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/www.griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/www.griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/griddb.net\/ja\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/comments?post=50882"}],"version-history":[{"count":1,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50882\/revisions"}],"predecessor-version":[{"id":51707,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50882\/revisions\/51707"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media\/50883"}],"wp:attachment":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}