ggracieux / lilypond-api Goto Github PK
View Code? Open in Web Editor NEWREST API for converting Lilypond file format to PDF and MIDI
License: MIT License
REST API for converting Lilypond file format to PDF and MIDI
License: MIT License
Temporary data should be deleted after it has been send to client.
Temporary data is never removed.
ALL API output should be in english
all fields are in english except 'message' and log.title
{
"statusCode": "ENGLISH",
"message": "FRENCH STUFF",
"base64PdfData": "RAW DATA",
"base64MidiData": "RAW DATA",
"logs": [
{
"title": "FRENCH STUFF",
"content": "ENGLISH"
}
]
}
{
"lpData": "\\score{ { c'4 d'4 e'4 f'4 } \\layout{} \\midi{} }"
}
In your Dockerfile an external composer and php installation is required.
I learned that in the Docker world It is good practice to make images independend from the outside world.
It would be a cool image if the image would build without external composer. Maybe with a base image first to reduce image size.
{
"apiName": "lilypond",
"description": "Convereting lp file to midi and pdf",
"version": {
"api": "1.1",
"lilypond": "1.34"
}
}
{
"apiName":"lilypond",
"version":"1",
"description":"Convereting lp file to midi and pdf"
}
Hi, great idea to provide an api for lilypond.
Unfortunately I cannot build the docker image.
My docker-compose.yml contains:
version: '3.5'
services:
lilypond-api:
build:
context: ./lilypond-api
dockerfile: dockerfile
It fails with:
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for systemd (229-4ubuntu21.27) ...
Processing triggers for dbus (1.10.6-1ubuntu3.5) ...
Processing triggers for tex-common (6.04ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time... done.
Errors were encountered while processing:
colord
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: Service 'lilypond-api' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y lilypond' returned a non-zero code: 100
How to make this Docker image build without errors?
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.