https://github.com/hansmi/paperhooks
Hook toolkit for Paperless-ngx with a REST API client in written Go
https://github.com/hansmi/paperhooks
golang paperless-ngx rest-api-client
Last synced: 3 months ago
JSON representation
Hook toolkit for Paperless-ngx with a REST API client in written Go
- Host: GitHub
- URL: https://github.com/hansmi/paperhooks
- Owner: hansmi
- License: bsd-3-clause
- Created: 2023-02-28T21:54:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-01T18:44:03.000Z (3 months ago)
- Last Synced: 2025-07-01T19:39:57.957Z (3 months ago)
- Topics: golang, paperless-ngx, rest-api-client
- Language: Go
- Homepage:
- Size: 191 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Client and hook toolkit for Paperless-ngx
[][releases]
[](https://github.com/hansmi/paperhooks/actions/workflows/ci.yaml)
[](https://pkg.go.dev/github.com/hansmi/paperhooks)Paperhooks is a toolkit for [writing consumption hooks][paperless-hooks] for
Paperless-ngx written using the Go programming language. A
[REST API][paperless-api] client is part of the toolkit
([`pkg/client`](./pkg/client/)).[Paperless-ngx][paperless] is a document management system transforming
physical documents into a searchable online archive.## Run integration tests
[Integration tests](https://en.wikipedia.org/wiki/Integration_testing) execute
operations against a real Paperless-ngx server running in a Docker container.
The wrapper script enables _destructive_ tests and should not be run against
a production instance.Commands:
```shell
env --chdir contrib/integration-env docker-compose upcontrib/run-integration
```[paperless-api]: https://docs.paperless-ngx.com/api/
[paperless-hooks]: https://docs.paperless-ngx.com/advanced_usage/#consume-hooks
[paperless]: https://docs.paperless-ngx.com/
[releases]: https://github.com/hansmi/paperhooks/releases/latest