Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I create custom backend functions? #4023

Open
1 of 5 tasks
SashvDave opened this issue May 4, 2024 · 3 comments
Open
1 of 5 tasks

How do I create custom backend functions? #4023

SashvDave opened this issue May 4, 2024 · 3 comments
Assignees

Comments

@SashvDave
Copy link

Version

  • v1 (has no resource to fix)
  • v2

Platform

  • Macos
  • Windows
  • Linux

Description

If I want to create a custom function in python and then call that as an "application" or "command" from the flutter UI, can you walk me through what the steps for that look like, including where I should define the python files, should I create them as an independent script or in a similar structure to these in the plugins folder, how to create and call the command as a query option in the flutter UI, etc.?

Thank you

@qianlifeng
Copy link
Member

Sorry, python plugin is not ready. You can make nodejs plugin for now. If you interested in Nodejs plugin, you can refer DeepL Plugin as an example.

@SashvDave
Copy link
Author

I cloned that repo into my plugins folder. Now how do I run it and make edits and see them in a development environment?

@qianlifeng
Copy link
Member

  1. Go to DeepL Plugin folder and run pnpm run dev
  2. Go to Wox Plugin Manager setting page and add DeepL Plugin folder to the Local Plugin Directories
image
  1. Now you can use deep to activate this plugin. when you make any changes to the plugin, Wox should auto reload the plugin and give you notification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants