42 lines
969 B
Markdown
42 lines
969 B
Markdown
# Advertisement_Panel
|
|
|
|
## How To Run This Project
|
|
```bash
|
|
go run main.go
|
|
```
|
|
|
|
### Make the screen not turn off by
|
|
```bash
|
|
xset -dpms
|
|
xset s off
|
|
xset s noblank
|
|
```
|
|
|
|
## How To Add To This Project
|
|
This project is written with go, and has hot realoding (rebuilding when sensing changes) for the main.go
|
|
|
|
Install Air
|
|
```bash
|
|
go install github.com/air-verse/air@latest
|
|
```
|
|
|
|
Add air to path or use the following disgusting command
|
|
```bash
|
|
$(go env GOPATH)/bin/air -c .air.toml
|
|
```
|
|
|
|
# Tasks
|
|
|
|
- [x] Interface for adding new images
|
|
- [x] ASCII ART support
|
|
- [ ] some sort of auth
|
|
- [ ] Change image system to database
|
|
- [ ] Add support for user inputed webassembly
|
|
- [ ] ATB integration
|
|
- [ ] Show more spicy images after kl 22:00
|
|
- [ ] Hide mouse cursor (do this though linux)
|
|
- [ ] More images and memes???
|
|
|
|
# NB!!!!
|
|
Changes in the static directory will not rebuild the project, simple workaround is to just make a small change in main.go and save, for example adding a space
|