-
Notifications
You must be signed in to change notification settings - Fork 46
Creating a Custom Plugin
Seer edited this page Jun 5, 2025
·
1 revision
Seer takes the first argument as the executor and then replaces the placeholders. ${input_file} is the absolute file path you just triggered. ${output_file} is the temp file path used to save converted file.
C:/ApkMetaInfo2Json/ApkMetaInfo2Json.exe ${input_file} ${output_file}.json-
process
- A file is triggered by SPACE
- Seer searches from plugin settings and finds that
apkis defined as a plugin type - Seer runs
ApkMetaInfo2Json.exewith defined parameters- In this case,
ApkMetaInfo2Json.exeread contents from the triggeredapkfile, then write ajsonfile at${output_file}
- In this case,
- When the
ApkMetaInfo2Json.exefinishes and exits, Seer will go to the temporary directory to read thejsonfile and display it.
-
A plugin can be any executable program
- a
CMDscript: rename - a
BATscript: epub - any third-party program that provides conversion functionality
-
dll_lib_exports: this is extracted somewhere from Microsoft Windows -
ImageMagick: https://imagemagick.org/index.php -
exiftool: https://exiftool.org/
-
- any user-defined program:
- a
-
Usually such plugins generate a temporary file.
- Seer will automatically delete temporary files older than 20 days.
- Temporary files will be removed by adding the parameter
${no_cache}at the end of the commands.
You can refer to the following example plugins:
- F3DViewer - 3D file viewer plugin
- OfficeViewer - Office document viewer plugin
- FontViewer - Font preview plugin
- JsonTreeViewer - JSON structure viewer plugin
Each project demonstrates a complete and practical implementation of the Seer plugin interface.