Task templates
FilesWorkflow provides ready-to-use task templates to help you get started quickly. These templates are available on GitHub for both JavaScript and TypeScript, covering browser-tasks and server-tasks.
Template Repositories:
Browser-Task (JavaScript): https://github.com/FilesWorkflow/browser-task-js-template
Browser-Task (TypeScript): https://github.com/FilesWorkflow/browser-task-ts-template
Server-Task (JavaScript): https://github.com/FilesWorkflow/server-task-js-template
Server-Task (TypeScript): https://github.com/FilesWorkflow/server-task-ts-template
How to Use:
Clone the desired template repository:
Navigate to the cloned directory and install dependencies:
Configure your task by editing the
taskConfig
inpackage.json
:inputType: 0 (single file), 1 (multiple files)
Develop and test your task using the provided development environment.
Build your task:
Import your task:
Go to the task editing page in FilesWorkflow.
Click on "Import".
Select the root directory of the project.
FilesWorkflow will automatically populate the task settings based on your
taskConfig
.
These templates provide a solid foundation for creating custom tasks in FilesWorkflow, allowing you to focus on implementing your specific functionality.
Last updated