Giter Site home page Giter Site logo

tlv.js's Introduction

TLV.js

Tiarraのログをブラウザで見れるやつ。検索はできなくなった。

  • Server-Sent EventsとVue.jsでリロード要らず
  • Web Speech APIで最新の発言を読み上げる
  • コストの割に使わないのでElasticsearchを使った全文検索はやめた

Todo

  • 日付情報の挿入
  • URL一覧表示みたいな

Memo

  • Buefyをモーダルにしか活用してなくて過剰っぽい
  • iOS Safariだと読み上げされないが知らぬ

付属品

importer.rb

既存のログをMongDBに流しこむためのスクリプト。 ruby importer.rb /home/ebith/tiarra/log/hogeとかして使う。
ログの保存設定に依存するのでたぶんあんまり使えない。

Mongo.pm

tiarraMetro付属のDBI.pmを書き換えてMongoDBに書き込むようにしたやつ。
Tiarraのmodule/Log/に配置してconfに以下のように書いて使う。

+ Log::Mongo {
  charset: utf8
  channel: *
}

SendMessage.pm

tiarraMetro付属のSendMessage.pmにLog::MongoとLog::Recent用の部分もコピペしたやつ。

tlv.js's People

Contributors

ebith avatar

Stargazers

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