theoria24 / tootcloud Goto Github PK
View Code? Open in Web Editor NEWあなたのトゥートからワードクラウドを作成
Home Page: https://tootcloud.ml
License: MIT License
あなたのトゥートからワードクラウドを作成
Home Page: https://tootcloud.ml
License: MIT License
認証時に、実際には使用しない権限まで取得しているため、不信感を与える可能性がある。フォロー・フォロワー、お気に入りを見たり変更したりする必要はない。
ただし、scopesの細分化がなされたのは比較的新しいバージョンなので、やや古いバージョンで動作しているインスタンスは切り捨てる形になる(例: Pawoo など)。
それにも対応しようとするとめんどくさいのでしばらく様子見か。
辞書にない単語を手動で設定したい
Misskeyでもやりたい。認証と取得、投稿部分の改修でいけるか
UAで弾かれてそうなインスタンスがある(JPとか)ので、対応する。
参照: halcy/Mastodon.py#213 (comment)
取得したトゥートの中に、ワードクラウド化される単語が存在しない場合、エラーが出るので、何らかの警告文を表示するようにしたほうが良い。
CWにしたい場合があるかもしれないので
必要か?
早いらしい
単語の数のみでサイズを決定しているため、1つの投稿のみに多数含まれる単語が大きくなってしまう(普段そんなに言ってるか?となる)
単語の登場回数 * 登場する投稿数
みたいな指標を使う?
#16 で投稿したトゥートを埋め込むように変更したが、非公開で投稿した場合には参照できない。非公開ならリンクを出すようにしないといけない。
設定したほうが良いと思います。選ぶようにしてもいいか?
したい
Mastodon.pyの通りやっても画像が投稿できないので https://qiita.com/code_monkey/items/e4929ef13e2a2032d467 を参考に修正しています。なにかいい方法ないのでしょうか。
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.