Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pooulad/infomosaic

🧩See your system information momentarily and side by side like mosaics
https://github.com/pooulad/infomosaic

dashboard golang react reactjs systeminfo systeminformation typescript vite websocket

Last synced: about 4 hours ago
JSON representation

🧩See your system information momentarily and side by side like mosaics

Awesome Lists containing this project

README

        

![infomosaic_logo](https://github.com/pooulad/infomosaic/blob/main/images/infomosaic.png)

### See your system information momentarily and side by side like mosaics🧩

### Minimal 🔌websocket project written with Golang and Reactjs

![infomosaic_screen_dark](https://github.com/pooulad/infomosaic/blob/main/images/screen-dark.png)
![infomosaic_screen_light](https://github.com/pooulad/infomosaic/blob/main/images/screen-light.png)

# How to use:

⚠️ Before use: do not forget to add .env file .it is necessary for docker compose file and golang main file. best sample:

.env file.

```env
INFOMOSAIC_PORT=8080
INFOMOSAIC_CLIENT_PORT=3000
```

## 🐳Run with Docker:

1.

```bash
git clone https://github.com/pooulad/infomosaic.git
```
2.

```bash
cd ./infomosaic
```

3.

```bash
docker compose up -d --build
```

### These commands create 2 separate services for front-end and back-end, both of which are ready to work with each other

✅client container : infomosaic-client-container

✅server container : infomosaic-server-container

### You can check logs with this command:

```bash
docker compose logs
```

## ✋Run manually:

1.

```bash
git clone https://github.com/pooulad/infomosaic.git
```
2.

```bash
cd ./infomosaic
```

3.

```bash
go mod tidy
go run ./cmd/main.go
```

### You should see this log in terminal:

Starting Infomosaic🧩 server on port YOUR_PORT

### Open another terminal and run:

4.

```bash
cd ./frontend
yarn install
yarn dev
```

### Now your client is runnig too. enjoy it🤠