Coder Social home page Coder Social logo

reineimi / va2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.84 MB

V A 二llA (Vanilla Project or Va2) is a webserver-based (Apache2) Desktop Environment application with a variety of native modules, libraries and extensions.

Home Page: https://reineimi.github.io/va2/

License: Other

HTML 4.07% Lua 19.85% CSS 23.25% JavaScript 52.83%
apache2 backend desktop-environment filesystem fileviewer frontend javascript lua quicklook vanilla web-application web-server

va2's Introduction

Click for demo

Please note that the Github Pages demo is not going to work as expected, as it requires a webserver for handshakes between the Operating System and the frontend of this web application.

Content:

Introduction

V A 二llA (Vanilla Project or Va2) is a webserver-based (Apache2) Desktop Environment application.
It is made to be flexible and cross-platform, however currently focused on Linux machines only.
Being under development it does not have a lot of features; however, there is a lot of native features and applications that have already been scheduled for development.

Installation

The only requirement for this application is Apache webserver, which can be:

(Arch Linux)
sudo pacman -Syy apache

(Ubuntu Linux)
sudo apt install apache2

(Termux, Android)
pkg install apache2

Screenshots

Alpha ver. GUI: Light mode

image image image

Alpha ver. GUI: Dark mode

image image image

Configuration

Create a new folder called va2.reineimi in the ./htdocs (Windows) or ./http (Arch Linux) directory of your Apache version, then put the contents of this application inside of that folder;

Change your host username and paths in the following files:

(the paths in the examples below are genuine for Arch Linux and doesn't have to be changed on those OS distributions)

httpd.conf

Define _ROOT "/etc/httpd"
Define _DOCS "/srv/http"
Define _LOGS "/srv/http/logs"
...
# Server user for Linux
<IfModule unixd_module>
	User _USERNAME_
	...
</IfModule>

response.lua

USER = '_USERNAME_'
PATH = '/srv/http/va2.reineimi/'
...
WIN_HTTPD_PATH = 'C:\\Apache24\\bin'

server.conf

{
	"server_path": "/srv/http/va2.reineimi/",
	"server_user": "_USERNAME_",
	"downloads": "/home/_USERNAME_/Downloads/"
}


Then put httpd.conf in, presumably, one of these locations (where the old httpd.conf can be found):
C:/Apache24/conf/ (Windows);
/etc/httpd/ (Arch Linux).

Module embedding

To embed any library module, for example va2.js and va2.css, you only need to put the following in your <head> tag:

<script src='https://reineimi.github.io/va2/lib/va2.js' async></script>
<link rel='stylesheet' href='https://reineimi.github.io/va2/lib/va2.css'>

va2's People

Contributors

reineimi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.