Skip to content

canerbasaran/alaybey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alaybey

It's a simple stupid live-reloading tool for web development

Feature

  • Scroll memory
  • Send signal with SSE(Server Sent Event) when the file is changed
  • Auto shutdown when all opened tabs is closed

Usage

You can just run alaybey in a directory:

$ alaybey

And then load your browser to localhost:8003 which will render index.html. Any other URL will load the respective file on the computer.

Usage of alaybey:
  -f string
        folder to watch (default: current) (default ".")
  -i string
        index page to render on / (default "index.html")
  -p int
        port to serve (default 8003)

Portable Binaries

https://github.com/canerbasaran/alaybey/releases/tag/v0.1.0

Installation

for non-Go users

curl -sf https://gobinaries.com/canerbasaran/alaybey | sh

Install

go get github.com/canerbasaran/alaybey

Thanks

https://github.com/schollz/browsersync

https://github.com/fsnotify/fsnotify

https://gist.github.com/fdrechsler/a20e8d2b8ff656db3bff9533e957be0c

Bill Dortch's Cookie Functions

License

MIT