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

FEAT: Chrome Extension #881

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

FEAT: Chrome Extension #881

wants to merge 1 commit into from

Conversation

steven-tey
Copy link
Collaborator

@steven-tey steven-tey commented May 10, 2024

Build a Chrome Extension for Dub using extension.js.org.

An alternative is using CRXJS, which is used by @Dhravya is his awesome Supermemory project.

Closes #207 #875

Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dub ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 2:02pm

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/react-dom@18.3.0 None 0 37.8 kB types
npm/@types/react@18.3.1 None +1 444 kB types
npm/extension@1.4.6 environment Transitive: eval, filesystem, network, shell, unsafe +833 164 MB cezaraugusto
npm/react-dom@18.3.1 environment +1 4.61 MB react-bot
npm/react@18.3.1 environment 0 318 kB react-bot
npm/tailwindcss@3.4.3 environment, filesystem Transitive: network, shell, unsafe +89 15.2 MB adamwathan
npm/typescript@5.3.3 None 0 32 MB typescript-bot

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/core-js-pure@3.37.0
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js-pure@3.37.0

@Dhravya
Copy link

Dhravya commented May 13, 2024

If I could start again, i'd choose extension.js.org!

(btw thanks for the mention!)

@anirbanpaulcom
Copy link
Contributor

anirbanpaulcom commented May 13, 2024

Hello @steven-tey , I'm planning to add these features to the extension. Please let me know what changes are needed.

  • Template Video
Screencast.from.14-05-24.12.45.56.PM.IST.webm
  • Automatic URL Fetch: Clicking the extension icon will fetch the URL of the current open tab for easy link shortening and display it in an input field within the popup.
  • Link Shortening Options: Users can edit the URL in the input field before shortening it.
  • After shortening Features:
    • Copy the shortened link
    • Edit the link
    • Share the link
    • Generate a QR code
    • Delete links
    • Access link creation history
    • Manage settings
    • Login or Signup

@Akshat76845
Copy link

.

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.

support for chrome extension
4 participants