Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FIWL (Flexible Interactive Web Layout) extends XML standard, mainly purposed for arranging web app layout as efficient as possible.

License

Notifications You must be signed in to change notification settings

fiwl-js/fiwl-js

Repository files navigation

Banner

FIWL JS

FIWL (Flexible Interactive Web Layout) extends XML standard, mainly purposed for arranging web app layout as efficient as possible.

Repository Stars Repository Forks View Issues MIT License View Documentation Code styled with Prettier FIWL Discord Server Support us on Ko-Fi!


Installation

The recommended way of starting your FIWL project is by running the command:

npx create-fiwl-app <your_app_name>

A quickstart boilerplate is also provided on a github repository. To use that, please follow these steps:

Prepare your bash environment

MacOS and Linux users can continue to the next step. If you are Windows user, using WSL is highly recommended because Command Prompt and Powershell are quite different. Thus, potential problem is high on future development. There is an official WSL installation tutorial to follow. For Windows 8.1 or older, use cygwin instead.

Clone via git

For installing quickstart boilerplate, just clone via git with this command: git clone https://github.com/Thor-x86/fiwl-quickstart

Start your favorite IDE

Now you can choose fiwl-quickstart as project directory for your IDE. If you are using VSCode, enter this command: code ./fiwl-quickstart

The fiwl.js script emulates FIWL environment for HTML5 standard.

See documentation for further information.

Usage

When developing web app with FIWL, we need to maintain these 3 files:

main.fiwl : Your app's first entrance. Another stages (or pages in HTML term) will be represented by *.fiwl.

style.varl : Change default appearance of widgets. It's optional, but really useful if you have to keep text size and color in tone.

manifest.json : Inform overall app information. Including app name, app description, metadata for SEO, custom first entrance, custom resource directory, and more.

To understand the base FIWL files, go here.

Running the App

To run the app, we need to simulate web server. You could use any web server including node http-server, apache, and nginx. For now, let's use the easiest way (node http-server).

Make sure you are currently at correct directory

If you follow from beginning, you are now at fiwl-quickstart directory and safe to jump to the next step. Otherwise, locate to the cloned repository directory using "cd" command.

Install required programs

Enter commands below on bash terminal:

sudo apt update
sudo apt install npm
sudo npm install -g http-server

Start http-server

You have to run command as below everytime you resume developing FIWL app:

http-server . -p 8080

To stop http-server, hit CTRL+C while on terminal. Run command above to start http-server again.

Open your browser

When the http-server is ready, enter link below to your browser's URL box:

http://localhost:8080/

Contributors

Love FIWL?

A donation is very much appreciated and helpful for our growth.

ko-fi

About

FIWL (Flexible Interactive Web Layout) extends XML standard, mainly purposed for arranging web app layout as efficient as possible.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Contributors 4

  •  
  •  
  •  
  •