A serverless UI + API to render PlantUML diagrams.
This can be used as a drop in replacement for scenarios where http://www.plantuml.com/plantuml is used a a rendering endpoint. You can avoid sending the diagram source to a server outside your control and use an encrypted HTTPS endpoint for the diagram traffic.
This doesn't support everything the official PlantUML server does but should be good for most intents and purposes (PNG, SVG and TXT rendering).
For example, to have Visual Studio Code PlantUML plugin render using your own serverless deployment, set the following properties in vscode for the plugin:
"plantuml.render": "PlantUMLServer",
"plantuml.server": "https://your-endpoint-here"
Use "plantuml.server": "https://plantuml.nitorio.us"
if you'd like to try before you deploy your own.
See the pre-packaged AWS SAM application here in the AWS Serverless Application Repository and deploy it easily to your AWS account!
mvn clean package
You can deploy with Serverless framework or AWS SAM. Also note that if you just want to run a released version, it's available from AWS Serverless Application Repository (see link above).
sls deploy
(Will have to remove or edit custom domains for this to work)
- Edit
sam-deploy.sh
to replace the deployment bucket with your own. - Run
sam-deploy.sh