gzock / tocaro-exporter Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
機能としての実装は要らないと思うけど、jsonからメッセージ本体だけ抜き出してまとめるようなことを行うワンライナーコマンドとかをREADMEで例示すると便利かも?そういうことやりたいと思う人がどれだけいるかわからないけど。機能としての実装は不要だと思う。
今のmain.pyだと全部のグループの全メッセージを取得する。そこまで必要ないときに使えるような機能が欲しい。
例えば以下。
全メッセージ取得する際、現状なんのインターバルもはさまず、連続的な実行を行っている。
数百~数千メッセージがあると、とてつもないスピードでAPIを叩きまくることになる。
ちょっとこの動作だと、サービス側に負担をかけてることになるため改善したい。
現状、config.iniのexcludesには1つの文字列しか含められない。これではちょっと不便。
リスト表記で複数の文字列を入れたり、あるいは正規表現をサポートできるようにしたい。
まぁ依存パッケージも少ないし、python3.6あれば実行できるしで、あまりコンテナ化させておく理由も薄いのだけど・・・
Dockerfile書きつつ、DockerHubにビルド済みのコンテナイメージも置いておきたい。
mountでconfig.iniもらうだけでなく、環境変数でパラメーター受け取れる形にしたほうが良いかな。
なので、entrypoint.shみたいなの作る必要がありそう。
出力したjsonファイルを使って、Webブラウザ経由でそれらを参照できるようなビューワを実装したい。
気軽にざざっと見るだけなら、コマンド打ってどうこうするよりもWeb経由のほうが楽だし。
ただしあまり作り込まないようにしておきたい。
単純にグループ単位でメッセージ参照できたり、簡易検索できたりするぐらいに留めておく。
実装規模によるけど、これは別リポジトリに分けたほうが良いかな?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.