https://github.com/kurama250/stats_server_pi
This code is used to see live consumption information from your Raspberry Pi server !
https://github.com/kurama250/stats_server_pi
discord nodejs rasbian raspberry-pi stats
Last synced: 9 months ago
JSON representation
This code is used to see live consumption information from your Raspberry Pi server !
- Host: GitHub
- URL: https://github.com/kurama250/stats_server_pi
- Owner: Kurama250
- License: other
- Created: 2023-09-20T19:52:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-21T02:56:38.000Z (over 1 year ago)
- Last Synced: 2025-03-30T21:15:09.477Z (about 1 year ago)
- Topics: discord, nodejs, rasbian, raspberry-pi, stats
- Language: JavaScript
- Homepage:
- Size: 178 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Bot stats Raspberry Pi server for Discord
(Programming Language - Node.js | Shell)
# Tutorial to install the bot ! For Rasbian (Raspberry Pi)
## 1 - on Terminal
A) Auto installer
- Run command :
```shell script
bash <(curl -s https://raw.githubusercontent.com/Kurama250/Stats_server_pi/main/setup_server.sh)
```
B) Manual installer
```shell script
apt update && apt upgrade -y
apt install npm nodejs git raspi-config -y
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs
```
```shell script
git clone https://github.com/Kurama250/Stats_server_pi.git
cd Stats_server_pi
npm install discord.js child_process
npm install pm2 -g
```
## 2 - on Terminal
```shell script
nano config.json
```
## And you also change this line :
```json
"token": "YOUR_TOKEN",
"channelId": "ID_CHANNEL",
"serverId": "ID_SERVER"
```
After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !
## 3 - on Terminal
```shell script
pm2 start main.js -n Stats_server_pi
```
- Demo :

Support on Discord : Discord Link3>
If you like this repository don't hesitate to give it a star ⭐ !
Then it's the end you have started the bot have fun !
Licence : [Creative commons](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en) - CC BY-NC-ND 4.0 by [Kurama250](https://github.com/Kurama250) | [Yoro404](https://github.com/Yoro404)