antos-frontend/README.md

48 lines
3.4 KiB
Markdown
Raw Permalink Normal View History

2018-02-26 11:02:27 +01:00
# antOS
2018-03-19 11:11:36 +01:00
[![Build Status](https://travis-ci.org/lxsang/antos.svg?branch=master)](https://travis-ci.org/lxsang/antos)
2018-03-19 11:26:53 +01:00
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Flxsang%2Fantos.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Flxsang%2Fantos?ref=badge_shield)
2018-03-19 11:11:48 +01:00
2018-10-03 11:30:33 +02:00
Server or Embedded Linux are often headless, so accessing the resource on these systems is not always obvious. The aim of this project is to develop a client core API that enables desktop like experience to remote server's resource accessing using web technologies. AntOS is based on jQuery and Riot, it is designed to be used along with our [**antd**](https://github.com/lxsang/ant-http) server and Lua based server side app, but it can also be adapted to any server side languages (PHP, etc) and server, by implementing all the system calls API defined in core/handlers/RemoteHandler.coffee. Basically, application design for the web os relies on these system calls to communicating with the server. The API defines the core UI, system calls (to server), Virtual File system, virtual database and the necessary libraries for easing the development of webOS's applications. Applications can be developped with coffee/javascript/css without the need of a server side script.
2018-01-04 11:51:12 +01:00
Note that, the development of the project is in early alpha state, so bugs are very welcome :)
2018-02-26 17:32:57 +01:00
The WebOS is tested on recent Firefox, Chrome and Safari, however i did not test it on IE or Edge since i have no Windows device :)
2018-01-04 11:51:12 +01:00
2018-02-02 12:54:07 +01:00
## Demo
2018-03-15 10:15:41 +01:00
A demo of the web desktop is available at my page [https://os.lxsang.me](https://os.lxsang.me) using username: demo and password: demo
2018-02-02 12:54:07 +01:00
2018-01-04 11:51:12 +01:00
![Screenshot](screenshot.png "Screenshot")
2018-09-29 13:22:55 +02:00
## AntOS applications
[https://github.com/lxsang/antosdk-apps](https://github.com/lxsang/antosdk-apps)
2018-01-04 11:51:12 +01:00
2018-02-27 14:29:24 +01:00
## Build
Note that this is only the client API, to make it work for your application, you need to implement all the system calls in core/handlers/RemoteHandler.coffee using a server side scripting language (e.g. PHP). I'm planning to release an API documentation which describes what need to be sent and what will be returned for each system call in near future (i'm kind of very busy right now :) ).
2018-02-27 14:31:38 +01:00
I'm a big fan of the Make system, so i use it as a build system for all of my projects. So, to build AntOS:
2018-02-27 14:29:24 +01:00
1. You need to have *make* installed. Then since most of the API is written in Coffee script, you will need it to be installed too.
2. Edit the BUILDDIR variable in the Makefile file to point to where you want to put the built API
2018-02-27 14:40:23 +01:00
3. Type `make` then you are good to go.
2018-02-27 14:29:24 +01:00
It you have any problem, please contact me or open an issue, i'll try to response ASAP.
## Licence
Copyright 2017-2018 Xuan Sang LE <xsang.le AT gmail DOT com>
2018-03-15 10:29:13 +01:00
AnTOS is is licensed under the GNU General Public License v3.0, see the LICENCE file for more information
2018-02-27 14:29:24 +01:00
2018-03-15 10:30:33 +01:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
2018-03-15 10:30:53 +01:00
This program is distributed in the hope that it will be useful,
2018-03-15 10:30:33 +01:00
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
2018-03-15 10:30:53 +01:00
You should have received a copy of the GNU General Public License
2018-03-15 10:30:33 +01:00
along with this program. If not, see <https://www.gnu.org/licenses/>.
2018-01-04 11:51:12 +01:00