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

Discord profile plugin example #15

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Discord profile plugin example #15

wants to merge 7 commits into from

Conversation

Codetrauma
Copy link
Collaborator

No description provided.

@heeckhau
Copy link
Member

heeckhau commented Jan 9, 2025

TODO:

@@ -0,0 +1,134 @@
import { redirect, notarize, outputJSON, getLocalStorageByHost, getHeadersByHost } from '../../../src/utils/hf';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is referencing a JS file in the main boilerplate folder. Is this OK?
Shouldn't we move this to a new npm package that plugins can reuse?

cc @0xtsukino what do you think?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea the idea is to turn hf into an npm module.

I also want to extract the plugin host environment in the extension into a separate module for ease of portability. let's leave this hardcoded path in for now, and change it all at once after we deploy the host module

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

Successfully merging this pull request may close these issues.

3 participants