- Introduced a new Lua-based REST API for darktable, allowing external applications to interact with the darktable library. - Implemented core functionalities including image listing, retrieval, and preview serving. - Added support for OAuth 2.0 authentication with token generation. - Created a simple HTTP router to handle API requests. - Included JSON encoding/decoding utilities for API responses. - Developed a script to launch the API server alongside darktable, ensuring seamless integration. - Added necessary configuration and setup for the API server, including CORS support and error handling.
13 lines
175 B
Plaintext
13 lines
175 B
Plaintext
vars {
|
|
baseUrl: http://192.168.1.134:7645
|
|
clientId: darktable-client
|
|
clientSecret: changeme
|
|
accessToken:
|
|
imageId: 1
|
|
}
|
|
|
|
vars:secret [
|
|
clientSecret,
|
|
accessToken
|
|
]
|