Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[[source]]
name = "pypi"
url = "https://pypi.mirrors.ustc.edu.cn/simple/"
url = "https://mirrors.bfsu.edu.cn/pypi/web/simple"
verify_ssl = true

[dev-packages]
Expand All @@ -14,4 +14,4 @@ pyside2 = "*"
webdriver = "*"

[requires]
python_version = "3.7"
python_version = "3"
53 changes: 31 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,69 @@
# 马自立自动烤肉机重制版

- [马自立自动烤肉机重制版](#马自立自动烤肉机重制版)
- [简介](#简介)
- [部署文档](#部署文档)
- [一键部署脚本(似乎有问题,不建议使用)](#一键部署脚本似乎有问题不建议使用)
- [手动部署文档](#手动部署文档)
- [使用方法](#使用方法)
- [b 站专栏介绍:庆贺吧,这是集数码暴龙与嵌字 man 力量于一身的烤推机](#b-站专栏介绍庆贺吧这是集数码暴龙与嵌字-man-力量于一身的烤推机)
- [使用感想](#使用感想)

## 简介

这个烤肉机,其实是个推特嵌字机。
出现的初衷因该是,嵌字这件事儿,大家都爱不动了。
来回p图一样的东西,有些伤不起啊。
来回 p 图一样的东西,有些伤不起啊。

于是,为了解决重复性工作,工坊招了程序员,也终于搞出来了这个项目。
于是,为了解决重复性工作,工坊招了程序员,也终于搞出来了这个项目。

此项目主要感谢以下贡献者
[FzXiao](https://github.com/fzxiao233) [b站](https://space.bilibili.com/2387011)
[飞雪](https://github.com/wudifeixue) [b站](http://space.bilibili.com/739848)
[鱼鱼](https://github.com/yuyuyzl) [b站](https://space.bilibili.com/1534590)
[FzXiao](https://github.com/fzxiao233) [b 站](https://space.bilibili.com/2387011)
[飞雪](https://github.com/wudifeixue) [b 站](http://space.bilibili.com/739848)
[鱼鱼](https://github.com/yuyuyzl) [b 站](https://space.bilibili.com/1534590)

![HowtoUse](https://raw.githubusercontent.com/cn-matsuri/matsuri_translation/master/tt_how_to_use.gif)

# 部署文档
## 部署文档

### 一键部署脚本(似乎有问题)
### 一键部署脚本(似乎有问题,不建议使用)

环境要求:

- Ubuntu 18.04

`wget https://raw.githubusercontent.com/cn-matsuri/matsuri_translation/master/deploy.sh && chmod +x deploy.sh && ./deploy.sh`
```bash
wget https://raw.githubusercontent.com/cn-matsuri/matsuri_translation/master/deploy.sh && chmod +x deploy.sh && ./deploy.sh
```

提示:

- 部署过程中可能需要键入一次sudo密码
- 部署成功后会显示pm2的当前任务状况
- 你可以通过修改程序目录下的celeryconfig.py来更改redis数据库的链接地址
- 你可以重新更改你的nginx配置通过编辑/etc/nginx/conf.d/1-matsuri_translation.conf
- 部署过程中可能需要键入一次 sudo 密码
- 部署成功后会显示 pm2 的当前任务状况
- 你可以通过修改程序目录下的 celeryconfig.py 来更改 redis 数据库的链接地址
- 你可以重新更改你的 nginx 配置通过编辑/etc/nginx/conf.d/1-matsuri_translation.conf

### 手动部署文档

[点击查看](deploy.md)

文档编辑者:

[活性酱](https://github.com/inactive-virus) [b站](https://space.bilibili.com/6250373)
[活性酱](https://github.com/inactive-virus) [b 站](https://space.bilibili.com/6250373)

## 使用方法

### b站专栏介绍:[庆贺吧,这是集数码暴龙与嵌字man力量于一身的烤推机](https://www.bilibili.com/read/cv3081959)
### b 站专栏介绍:[庆贺吧,这是集数码暴龙与嵌字 man 力量于一身的烤推机](https://www.bilibili.com/read/cv3081959)

打开烤肉机后,输入需要查询的推特永久链接。查询。输入翻译内容,满意后下载图片即可。
打开任意一个模板,然后开始输入你想输入的翻译内容就行了。
这个模板是完全可以自定义的,自己写HTML就好。
这个模板是完全可以自定义的,自己写 HTML 就好。

这里没有提供服务器连接,只是实例example.com
模板打开链接的示例:https://www.example.com/?template=永久链接.txt (这里替换永久链接.txt成一个真的文件链接
这里没有提供服务器连接,只是实例 example.com
模板打开链接的示例:`https://www.example.com/?template=永久链接.txt` (这里替换永久链接.txt 成一个真的文件链接


烤肉机模板源码地址:
https://github.com/cn-matsuri/toastTemplates/
烤肉机模板[源码地址](https://github.com/cn-matsuri/toastTemplates/)

## 使用感想

![茶铺使用感想](https://raw.githubusercontent.com/cn-matsuri/matsuri_translation/master/testimonial.png "茶铺使用感想")


Loading