Giter Club home page Giter Club logo

webxoss-core's Introduction

WEBXOSS

Install

  1. Clone this project
git clone https://github.com/webxoss/webxoss-core.git --recurse-submodules
  1. Init / Update submodule
cd webxoss-core
git submodule update --init --recursive
  1. Download copyrighted images
cd webxoss-client
curl https://webxoss.com/images.tar | tar xv
cd -

Note:

  • The card images are copyrighted by Takara Tomy. NO BUSINESS USE.
  • If it's slow, you can replace webxoss.com with cloudflare.webxoss.com, incapsula.webxoss.com or hongkong.webxoss.com:8080 to use proxy.
  • Card images are compressed. Use webxoss-fetch to get raw images.
  1. Install dependencies
npm install

Run

WEBXOSS can be runned in 2 modes: node or browser.

Node mode

Use nodejs to create a WEBXOSS server over network.

# listen to 127.0.0.1:80
node test.js

Then open 127.0.0.1. That's it.

# or specify a port
node test.js port=8080

Browser mode

WEBXOSS server can be runned in a browser tab, typically for easier debugging.

In this case, nodejs isn't needed. Just serve this project using nginx, apache or anything else.

Then, open 127.0.0.1 (map to webxoss-core folder). The browser tab you just opened is a real WEBXOSS server. You can open console to see what's inside it.

Note:

  • The "server" and "client" tabs use postMessage to simulate network communications. So you can only play with yourself in a browser.
  • See this test guide for more test tricks.

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.