This repository holds the backend implementation for a locally running web application I wrote to help me write a screenplay. I published a blog article about the application, if you are keen to find out more.
Using go routines, the program spawns at launch a file watcher which looks for changes to a local folder, and a web server which is queried by the Frontend Implementation to rearrange scenes.
- Run
CompileDaemon -command="./scenemover" -exclude-dir ".git" -exclude-dir "scenes" -verbose
to automatically always restart the script should something change (this uses https://github.com/githubnemo/CompileDaemon)
- Compile for windows:
GOOS=windows GOARCH=amd64 go build -o scenemover.exe main.go
- Compile for Mac:
GOOS=darwin GOARCH=amd64 go build -o scenemover main.go