various: remove dead code; fix skipped tests
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9100489be899f9e9fbd32f6aca3080196a6a6964
This commit is contained in:
parent
2f31242442
commit
cfdc3d0622
18 changed files with 1445 additions and 28 deletions
25
examples/plugins/heif-support/plugin.toml
Normal file
25
examples/plugins/heif-support/plugin.toml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[plugin]
|
||||
name = "heif-support"
|
||||
version = "1.0.0"
|
||||
api_version = "1.0"
|
||||
author = "Pinakes Team"
|
||||
description = "HEIF/HEIC image format support with metadata extraction and thumbnail generation"
|
||||
homepage = "https://github.com/pinakes/pinakes"
|
||||
license = "MIT OR Apache-2.0"
|
||||
kind = ["media_type", "metadata_extractor", "thumbnail_generator"]
|
||||
|
||||
[plugin.binary]
|
||||
wasm = "heif_support.wasm"
|
||||
|
||||
[capabilities]
|
||||
max_memory_mb = 256
|
||||
max_cpu_time_secs = 30
|
||||
|
||||
[capabilities.filesystem]
|
||||
read = ["/tmp/pinakes-input"]
|
||||
write = ["/tmp/pinakes-output"]
|
||||
|
||||
[config]
|
||||
extract_exif = { type = "boolean", default = true, description = "Extract EXIF metadata from HEIF images" }
|
||||
generate_thumbnails = { type = "boolean", default = true, description = "Generate thumbnails for HEIF images" }
|
||||
thumbnail_quality = { type = "integer", default = 85, description = "JPEG quality for thumbnails (1-100)" }
|
||||
21
examples/plugins/markdown-metadata/plugin.toml
Normal file
21
examples/plugins/markdown-metadata/plugin.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[plugin]
|
||||
name = "markdown-metadata"
|
||||
version = "1.0.0"
|
||||
api_version = "1.0"
|
||||
author = "Pinakes Team"
|
||||
description = "Extract metadata from Markdown files with YAML frontmatter"
|
||||
homepage = "https://github.com/pinakes/pinakes"
|
||||
license = "MIT OR Apache-2.0"
|
||||
kind = ["metadata_extractor"]
|
||||
|
||||
[plugin.binary]
|
||||
wasm = "markdown_metadata.wasm"
|
||||
|
||||
[capabilities]
|
||||
# No filesystem or network access needed
|
||||
# Plugin operates on provided content
|
||||
|
||||
[config]
|
||||
extract_tags = { type = "boolean", default = true, description = "Extract tags from YAML frontmatter" }
|
||||
parse_yaml = { type = "boolean", default = true, description = "Parse YAML frontmatter" }
|
||||
max_file_size = { type = "integer", default = 10485760, description = "Maximum file size in bytes (10MB)" }
|
||||
Loading…
Add table
Add a link
Reference in a new issue