Coder Social home page Coder Social logo

lispcoc / nekotaku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esnya/nekotaku

0.0 2.0 0.0 5.07 MB

ねこ卓:モバイルフレンドリーなオンラインセッション支援ツール

Home Page: https://nekotaku.nekometer.info

License: MIT License

JavaScript 39.73% HTML 0.62% Vue 55.70% CSS 3.96%

nekotaku's Introduction

ねこ卓 (NekoTaku)

Build Status Coverage Status Dependencies DevDependencies

モバイルフレンドリーなオンラインセッション支援ツール

できること / Features

  • チャット
    • ダイスロール
      • どどんとふ互換
      • アニメーション表示(一部のみ対応)
    • チャットパレット
    • 立ち絵表示
  • キャラクター管理
  • マップ管理
    • グリッド
    • 背景画像
    • キャラクターコマ
    • 図形描画

スクリーンショット / Screen Shots

ss01.png ss02.png ss03.png ss04.png

素材 / Thanks

サンプルキャラクター画像はどぉるキャラメイカー様で作成しました。

更新履歴 / Changelog

CHANGELOG.md

All notable changes to this project will be documented in CHANGELOG.md. This project adheres to Semantic Versioning.

使い方 / How to Use

A. お試しサーバー / Trial Server

https://nekotaku.nekometer.info

B. UIプレビュー(データ保存・共有なし) / UI Preview (Without data saving and sharering)

  1. Requirements:
  • Node.js >= 6.11.3
  • yarn (install: npm i -g yarn)
  1. Install dependencies.
$ yarn
  1. Configure.
$ cp config/config.stub.json config/config.json
  1. Start dev-server.
$ yarn start
  1. Open http://localhost:8080 with your browser.

C. Firebase

  1. Requirements:
  • Node.js >= 6.11.3
  • yarn
  1. Setup your Firebase project.
  2. Install dependencies.
$ yarn
  1. Configure.
$ cp config/config.firebase.json config/config.json
$ vi config/config.json
# Write your Firbase API tokens and save.
  1. Build. (or run locally to follow B-4, B-5)
$ NODE_ENV=production yarn build
  1. Deploy <your-nekotaku-directory>/dist into your server.

D. Standalone Server with MongoDB

  1. Requirements:
  • Node.js >= 6.11.3
  • yarn
  • MongoDB
  1. Install dependencies.
$ yarn
  1. Configure client.
$ cp config/config.server.json config/config.json
  1. Configure server.
$ cp config/server.mongodb.json config/server.json
$ vi config/server.json
# Edit config
  1. Build.
$ NODE_ENV=production yarn build
  1. Run.
$ node index.js

設定 / Configuration

config/config.json

{
  "backend": { // Required
    "type": "stub", // "stub" or "firebase" or "socket"

    // Firebase Configuration
    "apiKey": "Your API Key",
    "authDomain": "Your Auth Domain",
    "databaseURL": "Your Database URL",
    "projectId": "Your Project Id",
    "storageBucket": "Your Storage Bucket",
    "messagingSenderId": "Your Messaging Sender Id"
  },
  "welcomeMessage": { // Optional
    "id": "201709130610", // Update to new id to visible message again
    "title": "「ねこ卓」へようこそ",
    "body": [
      "ご意見・ご要望・バグ報告歓迎です。詳細はメニューの「フィードバック」を御覧ください"
    ],
    "forceVisible": false
  },
  "feedbackFormURL": "http://url.to.your.form",
  "theme": { // Optional
    "primary": "blue.darken2", // or hex color code "#FF0000"
    "secondary": "grey.darken3",
    "accent": "blue.accent1",
    "error": "red.accent2",
    "info": "blue.base",
    "success": "green.base",
    "warning": "amber.base"
  },
  "googleAnalytics": { // Optional
    "id": "GOOGLE_ANALYTICS_ID"
  },
  "title": "ねこ卓" // Optional
}

config/server.json

{
  "datastore": { // Required
    "type": "mongodb",

    "url": "mongodb://localhost:27017/nekotaku"
  },
  "http": { // Required
    "host": "0.0.0.0",
    "port": 8080
  },
  "file": { // Required
    "path": "./data/files",
    "maxSize": "10MB"
  },
  "loglevel": "INFO" // Required
}

nekotaku's People

Contributors

daicyan avatar

Watchers

 avatar  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.