• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

TsingJyujing/mastodon-conversation-exporter: Exporting and simple visualization ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

TsingJyujing/mastodon-conversation-exporter

开源软件地址(OpenSource Url):

https://github.com/TsingJyujing/mastodon-conversation-exporter

开源编程语言(OpenSource Language):

Python 65.6%

开源软件介绍(OpenSource Introduction):

Mastodon Conversation Exporter

Introduction

Some discussion (actually quarrel) on Mastodon is too long to read, this project is for exporting and doing some simple visualization the conversation on Mastodon.

How to Start Server

Of course you can use https://mce.tsingjyujing.com/ directly, but it requires you input some secret information like robot access token/secret something. So it's impossible to ensure the author(actually, me) won't abuse your personal information, right?

According to the above reasons, the most recommended way is start your server by yourselves. I know it's a little bit panic for the guys can't programming, at very least I prepared the docker image, it'll be easier for you guys to use.

For Developers

Environment Setup

We're using poetry to manage dependencies, but also exported requirements.txt. You can setup environment by poetry install or pip install -r requirements.txt.

Download Frontend Files

Run pages/download.py to download all files for frontend:

pages/static
├── bootstrap.min.css
├── bootstrap.min.js
├── echarts.min.js
├── github-markdown.min.css
└── jquery.min.js

Start Server

Run server.py to start server at port 8000.

Docker Image Build & Start

docker build -t tsingjyujing/mastodon-conversation-exporter .
docker run -it -p 8000:8000 tsingjyujing/mastodon-conversation-exporter

For Docker Users

For docker users, please pull docker image directly and run:

docker run -it -p 8000:8000 tsingjyujing/mastodon-conversation-exporter

Then visit http://127.0.0.1:8000/

TODO

  • I'm not good at front-end developing, so if you have any improvement on interface is welcome.
    • This program also could be done by some front-end plugin only, but I'm not good at front-end...
  • Please feel free to create a PR if you have any other idea about visualization something...



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap