-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Add support for Pikchr #515
Comments
Hey @arthurbarr Any idea? |
It appears to be using Fossil for source code management. You can get the source doing something like this:
I don't think there's a pre-built version, as it's just a single C file, with a single function as the entrypoint. So integrating would appear to mean pulling down the latest C file, and then invoking the C function from kroki. |
Additional docs on building Pikchr from source and how to integrate Pikchr into new systems |
@arthurbarr i found that fossil complains with your approach of opening the repo. its easier to just create a new folder for the checkout: fossil clone https://pikchr.org pikchr
mkdir pikchr-checkout
cd pikchr-checkout
fossil open ../pikchr but there's actually no need to use fossil at all: |
For reference, Pikchr now has an official GitHub mirror: https://github.com/drhsqlite/pikchr
I can confirm that the following is working fine, thanks 👍 Now the only blocker is that the CLI does not seem to read diagram from stdin (and I don't want to write temporary files on the disk). I never wrote C code but I will see what I can do... If someone is familiar with C and/or knows how to implement this feature please come forward! The entry point seems to be: https://github.com/drhsqlite/pikchr/blob/91f0247783fc7ae7941f3ec5dd9747518c345b91/pikchr.c#L7716 |
Gave it a try: drhsqlite/pikchr#1 |
Could you please consider adding support for Pikchr?
The text was updated successfully, but these errors were encountered: