Hello guys, I would like to share two projects that I recently published: Gorthanc, a Go wrapper around the Orthanc REST API, and Orthanc CLI, a command-line tool that helps you call Orthanc endpoints from your terminal to manage and maintain your Orthanc server.
Over the last year I’ve been working with Go, and many times I found myself needing to wrap the same Orthanc REST API methods repeatedly in different projects. Recently I had the idea of bringing all this together into a small SDK and releasing it, and that’s how Gorthanc was born.
For the last four years I have been working daily with PACS and Orthanc. During this time, using the Orthanc REST API through scripts, Postman, or even curl in the terminal has been part of my support and development teams’ daily routine to test behavior, investigate issues in studies, or track down bugs in other parts of the system. From that experience, I came up with the idea of creating a CLI that I can easily point to an Orthanc server to call endpoints and analyze the output. With Orthanc CLI, you can list, inspect, remove or modify studies, patients, series and instances, as well as download archives or anonymize data — all directly from the terminal, bash scripts, or other scripting tools/languages.
Both projects are still in a very early stage of development, so you can expect some bugs or missing endpoints. Over time, I hope to turn them into solid tools, adding more functionality until they cover the whole Orthanc REST API.
If you find a bug or have a suggestion, pleas open an issue on Github.
Gorthanc: GitHub - proencaj/gorthanc: Orthanc API Wrapper in Go
Orthanc CLI: GitHub - proencaj/orthanc-cli: A CLI to access Orthanc API