SVG Templating functionality #5

Open
opened 2026-01-18 13:20:28 +00:00 by tueem · 0 comments
Owner

GET (/svg/{id}?format=svg|png|pdf)
->

{
	"templateKeys": {
		"foo": "foovalue",
		"bar": "barvalue",
		"ex": "exvalue"
	}
}

<-

{
	"outputURL": "..."
}

just Replace Text based on placeholders in the SVG like {{ PLACEHOLDER }}.
And convert to png pdf using TBA library.

> GET (/svg/{id}?format=svg|png|pdf) > -> ```json { "templateKeys": { "foo": "foovalue", "bar": "barvalue", "ex": "exvalue" } } ``` > <- ```json { "outputURL": "..." } ``` just Replace Text based on placeholders in the SVG like ``{{ PLACEHOLDER }}``. And convert to png pdf using TBA library.
tueem added this to the First prototype milestone 2026-01-18 13:41:05 +00:00
tueem added this to the dev project 2026-01-18 13:41:08 +00:00
tueem added the enhancement label 2026-01-18 13:41:12 +00:00
tueem moved this to To Do in dev on 2026-01-18 13:42:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tueem/svg-templater#5