Coder Social home page Coder Social logo

nanmu42 / orly Goto Github PK

View Code? Open in Web Editor NEW
780.0 780.0 46.0 2.32 MB

:football: Generate your own O'RLY animal book cover to troll your colleagues | 生成你自己的O'RLY动物书封面,让你的同事惊掉下巴

Home Page: https://orly.nanmu.me

License: MIT License

Go 63.65% JavaScript 4.08% HTML 1.22% Vue 28.03% Shell 0.27% Dockerfile 0.95% Makefile 1.81%
animal-book api golang image k8s orly orly-cover vue

orly's People

Contributors

cauldnz avatar dependabot[bot] avatar jessicasachs avatar nanmu42 avatar tahsingokalp avatar wooogi123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orly's Issues

启动报错 rly exits with error: SourceHanSans-Medium.ttc: no such file or directory


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 都显示这个错误

Update frontend build tooling and dependencies

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?

Build + Environment Changes

  • Update Node to latest LTS
  • Update Dockerfile installation
  • Update GitHub Actions image to latest Node LTS
  • Swap to pnpm instead of yarn

Frontend Build

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.

  • Vue 3 Upgrade
  • Webpack => Vite

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.