mirror of
https://github.com/tcsenpai/emesh.git
synced 2025-06-03 01:00:03 +00:00
added conda support
This commit is contained in:
parent
3ce77673da
commit
8d6c18f329
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
*.key
|
||||
*.pem
|
||||
textual
|
||||
textual
|
||||
.trunk
|
||||
__pycache__
|
31
README.md
31
README.md
@ -15,8 +15,8 @@ Any device that is compatible with the current Meshtastic for Python version sho
|
||||
### Features
|
||||
|
||||
- [x] A fully functional GUI for Meshtastic even if you are using the terminal (thanks [Textualize for its Textual library](https://github.com/Textualize/textual))
|
||||
- [x] Conda support for both CLI and TUI versions
|
||||
- [x] Serial Port connection (serial or usb over serial)
|
||||
- [ ] Bluetooth connection (not yet, maybe not ever)
|
||||
- [x] Support for beaconing (emitting a signal every X seconds)
|
||||
- [ ] Support for beaconing time customization
|
||||
- [x] Possibility of specifying the serial port to use
|
||||
@ -28,13 +28,38 @@ Any device that is compatible with the current Meshtastic for Python version sho
|
||||
|
||||
git clone https://github.com/thecookingsenpai/emesh
|
||||
cd emesh
|
||||
|
||||
#### TUI Version (textual GUI)
|
||||
|
||||
***NOTE: This is the suggested way of running emesh on capable machines (from raspberry pi zero to infinite)***
|
||||
|
||||
Using pip:
|
||||
|
||||
pip install -r requirements.txt
|
||||
python gui.py
|
||||
|
||||
You can also play with term.py and emesh.py and use directly
|
||||
Using conda (suggested):
|
||||
|
||||
conda env create --file environment.yaml
|
||||
conda activate emesh-env
|
||||
python gui.py
|
||||
|
||||
|
||||
#### CLI Version
|
||||
|
||||
***NOTE: This is the suggested way of running emesh on low specs machines (sub-raspberry pi zero)***
|
||||
|
||||
Using pip:
|
||||
|
||||
pip install -r requirements_cli.txt
|
||||
python term.py
|
||||
|
||||
Using conda (suggested):
|
||||
|
||||
conda env create --file environment_cli.yaml
|
||||
conda activate emesh-env-cli
|
||||
python term.py
|
||||
|
||||
If you really hate GUIs.
|
||||
|
||||
### License
|
||||
|
||||
|
15
environment.yaml
Normal file
15
environment.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
# run: conda env create --file environment.yml
|
||||
name: emesh-env
|
||||
dependencies:
|
||||
- python=3.10
|
||||
- anaconda
|
||||
- pip
|
||||
- pip:
|
||||
- pytap2
|
||||
- pubsub
|
||||
- meshtastic
|
||||
- cryptography
|
||||
- deterministic-rsa-keygen
|
||||
- python-dotenv
|
||||
- textual
|
||||
- textual-dev
|
13
environment_cli.yaml
Normal file
13
environment_cli.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
# run: conda env create --file environment_cli.yml
|
||||
name: emesh-env-cli
|
||||
dependencies:
|
||||
- python=3.10
|
||||
- anaconda
|
||||
- pip
|
||||
- pip:
|
||||
- pytap2
|
||||
- pubsub
|
||||
- meshtastic
|
||||
- cryptography
|
||||
- deterministic-rsa-keygen
|
||||
- python-dotenv
|
8
requirements_cli.txt
Executable file
8
requirements_cli.txt
Executable file
@ -0,0 +1,8 @@
|
||||
pytap2
|
||||
pubsub
|
||||
meshtastic
|
||||
cryptography
|
||||
deterministic-rsa-keygen
|
||||
python-dotenv
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user