infinition/bjorn-detector
概要
Bjorn Detector: One-Click SSH Access to Your Device in a radar style
セキュリティできること
- Automatic Network Detection: Continuously checks for the device bjorn.home on the local network.
- Interactive SSH Launcher: When bjorn.home is detected, click the Bjorn icon to automatically launch an SSH terminal connected to Bjorn’s IP address.
- IP Display: Shows the IP address of bjorn.home upon detection.
- Seamless Bjorn Installation: Facilitates installation of Bjorn by connecting to the device via SSH.
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル🧭 Bjorn Detector
Bjorn Detector detects Bjorn device on the local network, displays its IP address, and allows you to initiate an SSH session with a single click on Bjorn Icon. The red dot is moving around the radar while he looks for Bjorn.
📚 Table of Contents
✨ Features
- Automatic Network Detection: Continuously checks for the device
bjorn.homeon the local network. - Interactive SSH Launcher: When
bjorn.homeis detected, click the Bjorn icon to automatically launch an SSH terminal connected to Bjorn’s IP address. - IP Display: Shows the IP address of
bjorn.homeupon detection. - Seamless Bjorn Installation: Facilitates installation of Bjorn by connecting to the device via SSH.
📌 Prerequisites
Python: 3.9+
PyQt6: 6.7.0+
Linux:
sudo apt-get install -y libegl1 libpulse0
🛠️ Installation
Clone the Repository:
git clone https://github.com/infinition/bjorn-detector.git cd bjorn-detectorCreate a Virtual Environment
python -m venv venvActivate the Virtual Environment
On Unix or MacOS:
source venv/bin/activateOn Windows:
.\venv\Scripts\activate- or
powershell.exe -ExecutionPolicy Bypass -File .\venv\Scripts\Activate.ps1Upgrade pip
python -m ensurepip pip install --upgrade pipInstall Dependencies
pip install -r requirements.txt- Deactivate the Virtual Environment
When you're done, deactivate the environment:
deactivate
🚀 Usage
🕵️ Scan for Bjorn Device
Run the main script:
python bjorn-detector.py
This will scan your network and find Bjorn device, One-Click Bjorn to start SSH session.
📟 Command-Line Arguments
You can customize the behavior using the following arguments:
--timeout: timeout in seconds. Must be between 10 to 300.python bjorn-detector.py --timeout 10--identity-file, --i: Identity file used to connect device if set on install. Defaults to None.python bjorn-detector.py --identity-file identity-file.pem- Must be a Valid OpenSSH Key File
--log-level: Set the logging level (INFO or DEBUG).python bjorn-detector.py --log-level DEBUG
📝 Example Usage
python bjorn-detector.py
📊 Logging
Logs are maintained in logs/bjorn-detector.log with rotating file handlers to prevent excessive file sizes.
Log Levels:
INFO: General operational messages.
DEBUG: Detailed diagnostic information.
📫 Contact
Report Issues: Via GitHub.
Guidelines:
- Follow ethical guidelines.
- Document reproduction steps.
- Provide logs and context.
Author: infinition
GitHub: infinition/bjorn-detector
🌠 Stargazers
📜 License
2024 - Bjorn is distributed under the MIT License. For more details, please refer to the LICENSE file included in this repository.
関連プロジェクトを探す
読み込み中…