同步操作将从 楠木/orly 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
English | 中文
O'RLY Cover Generator is a parody book cover generator, implemented in Golang and Vue.js, supporting a wide range of language including CJK.
O'RLY is living at https://orly.nanmu.me/
Docker images can be found at https://hub.docker.com/r/nanmu42/orly
docker pull nanmu42/orly:[tag]
Refer to https://hub.docker.com/r/nanmu42/orly/tags for available tags.
Example config:
CoverImageDir = "cover-images"
Debug = false
MaxImageID = 41
Port = ":3000"
TitleFont = "fonts/SourceHanSerif-Bold.ttc"
NormalFont = "fonts/SourceHanSans-Medium.ttc"
ORLYFont = "fonts/SourceSansPro-Black.ttf"
QueueLen = 20
WorkerNum = 2
Width = 1000
Save as rly.toml
, mount it into /app/config
, and run docker image with param /app/rly -config config/rly.toml
.
O'RLY can be built in following commands:
mkdir -p assets
cd assets
wget -nc https://github.com/nanmu42/orly/releases/download/1.1.0-beta/cover-images.tar.xz
wget -nc https://github.com/nanmu42/orly/releases/download/1.1.0-beta/fonts.tar.xz
cd ..
make all
O'RLY consists of an API instance and a static frontend:
cmd/rly
;frontend
Animal images and font files are in coverimage
and font
respectively.
More documentations can be found in their directory.
Contributions are always welcome!
Here are a few directions if you are interested:
Or simply...
Many thanks :hugs: to following contributors:
There are several projects which share the idea:
"O'RLY Cover Generator" is just a parody, and it has no concern with O'Reilly Media.
This work uses Source Han Serif and Source Han Sans from Adobe and Google, with participation from partner foundries Changzhou SinoType in China, Iwata Corporation in Japan, and Sandoll Communications in Korea.
This work uses TrueType version of Source Sans Pro from Adobe by Paul D. Hunt.
The animal(well, not all of them are animal) images are from the USF ClipArt ETC project.
The author would like to thank JetBrains for providing a JetBrains Open Source license for his open source developments.
Use of this work is governed by a MIT License.
You may find a license copy in project root.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。