Skip to content

acrocat/EverLayoutBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EverLayout Bridge

EverLayout Bridge is a basic web server which sends layout files to iOS Apps running EverLayout.

You can find more info on EverLayout here

Installation

npm install -g ever-layout-bridge

Usage

Navigate to your project directory and run

ever-layout-bridge

By default EverLayout Bridge will listen on port 3000 and monitor ./Layouts for file changes. You can change the port and layout directory by passing arguments.

ever-layout-bridge --port=1234 --dir="my-layouts/"

When the server detects a change in one of your layout files, it will send the data to all connected clients via sockets.

The server also acts as a basic file server for images. The app will look for images in ./Images by default, and this can also be set with arguments

ever-layout-bridge --images="assets/images"

When the server is running all images can be accessed from the root like so:

http:{your-server-address}/image-name.png

About

A small web server to accompany the EverLayout iOS library

Resources

License

Stars

Watchers

Forks

Packages

No packages published