bitjourney / plantuml-service Goto Github PK
View Code? Open in Web Editor NEWHigh-performance HTTP service for PlantUML, used in Kibela
License: Other
High-performance HTTP service for PlantUML, used in Kibela
License: Other
I can not pull from docker hub, any one have the same problem?
Error response from daemon: manifest for bitjourney/plantuml-service:latest not found
like /batch?sources[0]=:source1&sources[1]=source2&...
or multipart.
I recent regression around link target in plantuml has been fixed in the 1.2019 version:
http://forum.plantuml.net/8572/svglinktarget-not-working
Could you please upgrade the plantuml jar?
When I use Chinese characters, the SVG image's textLength is smaller then expected.
actual
source code:
<text xmlns="http://www.w3.org/2000/svg" fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="14" x="104" y="28.1543">中文</text>
expected
source code:
<text xmlns="http://www.w3.org/2000/svg" fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="24" x="104" y="28.1543">中文</text>
given the following source:
@startuml
salt
{
{T
+ World
++ America
+++ Canada
+++ USA
++++ New York
++++ Boston
+++ Mexico
++ Europe
+++ Italy
+++ Germany
++++ Berlin
++ Africa
}
}
@enduml
expected (using www.plantuml.com):
as of plantml-service 1.2.3 (using plantuml-service.herokuapp.com):
Python 3 POST usage example:
from urllib.parse import urlencode
from urllib.request import Request, urlopen
url = 'http://localhost:1608/png'
post_fields = self.text.encode()
request = Request(url, post_fields)
answer = urlopen(request).read().decode()
print(answer)
Hi,
Thank you for your software. I use it prolifically with vscode jebbs plantuml plugin via its plantuml.render setting.
When I preview the following document
@startuml
version
@enduml
I notice the version is 1.2018.3
Is there a way to redirect the plantuml-service to call a local version of the plantuml jar so as to pick up an updated version of the base plantuml.jar?
Cheers.
I started the server with:
D:\>java -jar plantuml-service.jar
[main] INFO com.bitjourney.plantuml.Main - The environment variable GRAPHVIZ_DOT has been set to D:\User\Documents\graphviz-2.38\release\bin\dot.exe
[main] INFO com.bitjourney.plantuml.Main - Dot executable is D:\graphviz-2.38\release\bin\dot.exe
[main] INFO com.bitjourney.plantuml.Main - Dot version: dot - graphviz version 2.38.0 (20140413.2041)
[main] INFO com.bitjourney.plantuml.Main - Installation seems OK. File generation OK
[Thread-7] INFO org.eclipse.jetty.util.log - Logging initialized @2492ms to org.eclipse.jetty.util.log.Slf4jLog
[Thread-7] INFO spark.embeddedserver.jetty.EmbeddedJettyServer - == Spark has ignited ...
[Thread-7] INFO spark.embeddedserver.jetty.EmbeddedJettyServer - >> Listening on 0.0.0.0:1608
[Thread-7] INFO org.eclipse.jetty.server.Server - jetty-9.4.z-SNAPSHOT
[Thread-7] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0
[Thread-7] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
[Thread-7] INFO org.eclipse.jetty.server.session - Scavenging every 600000ms
[Thread-7] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@4dd21dcf{HTTP/1.1,[http/1.1]}{0.0.0.0:1608}
[Thread-7] INFO org.eclipse.jetty.server.Server - Started @3145ms
When running https://github.com/plantuml/plantuml-server I could access it on http://localhost:8080/plantuml
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.