nanmu42 / orly Goto Github PK
View Code? Open in Web Editor NEW:football: Generate your own O'RLY animal book cover to troll your colleagues | 生成你自己的O'RLY动物书封面,让你的同事惊掉下巴
Home Page: https://orly.nanmu.me
License: MIT License
:football: Generate your own O'RLY animal book cover to troll your colleagues | 生成你自己的O'RLY动物书封面,让你的同事惊掉下巴
Home Page: https://orly.nanmu.me
License: MIT License
df2020@df2020-K84HR:~/orly/bin$ ./rly
2020/10/30 21:23:55 maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined
Using specified config file config.toml, content
CoverImageDir = "../../coverimage"
Debug = false
MaxImageID = 40
NormalFont = "../../font/SourceHanSans-Medium.ttc"
ORLYFont = "../../font/SourceHanSans-Heavy.ttc"
Port = ":3000"
QueueLen = 20
TitleFont = "../../font/SourceHanSerif-Bold.ttc"
Width = 800
WorkerNum = 4
{"level":"info","ts":1604064235.7881098,"caller":"rly/main.go:65","msg":"O'rly Generator API starting...","version":"1.4.0-9-g37fc4a1","buildAt":"2020-10-30T21:16:29+0800"}
{"level":"error","ts":1604064235.788324,"caller":"rly/main.go:40","msg":"rly exits with error","error":"initializeFactory: LoadFont normalFont: ReadFile: open ../../font/SourceHanSans-Medium.ttc: no such file or directory","errorVerbose":"open ../../font/SourceHanSans-Medium.ttc: no such file or directory\nReadFile\ngithub.com/nanmu42/orly.LoadFont\n\tgithub.com/nanmu42/orly/fontloader.go:15\nmain.initializeFactory\n\tgithub.com/nanmu42/orly/cmd/rly/factory.go:22\nmain.main\n\tgithub.com/nanmu42/orly/cmd/rly/main.go:69\nruntime.main\n\truntime/proc.go:204\nruntime.goexit\n\truntime/asm_amd64.s:1374\nLoadFont normalFont\nmain.initializeFactory\n\tgithub.com/nanmu42/orly/cmd/rly/factory.go:24\nmain.main\n\tgithub.com/nanmu42/orly/cmd/rly/main.go:69\nruntime.main\n\truntime/proc.go:204\nruntime.goexit\n\truntime/asm_amd64.s:1374\ninitializeFactory\nmain.main\n\tgithub.com/nanmu42/orly/cmd/rly/main.go:71\nruntime.main\n\truntime/proc.go:204\nruntime.goexit\n\truntime/asm_amd64.s:1374","stacktrace":"main.main.func1\n\tgithub.com/nanmu42/orly/cmd/rly/main.go:40\nmain.main\n\tgithub.com/nanmu42/orly/cmd/rly/main.go:72\nruntime.main\n\truntime/proc.go:204"}
无论我用win启动还是linux 都显示这个错误
As it stands, Node 16 is out of date and the Dockerfile isn't building. I got it working locally with Node 22 and pnpm. There's going to be a lot of churn + movement in the frontend package, is there any issue with this?
After these infra updates, I'd like to upgrade to Vue 3 and Vite instead of Webpack. I'd also like to add TypeScript, if you don't mind.
如果可以设置图片的分辨率就更好了
Make a share function(Serialize all contents and output as base64 or something similiar).
如题。
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.