⚡ Self-hostable branded link shortener built with Next.js & Notion API

Overview

Notiolink

Self-hostable branded link shortener built with Next.js & Notion API

Made by Theodorus Clarence

Installation Guide

Please read the full guide on this notion page

If you are migrating from v0 to v1, I suggest to re-fork the project and add the environment variables.

Features

  • Unlimited branded links (use your own domain!)
  • Self-hostable with Vercel
  • 💨 Fast redirect using Next.js Middleware Functions
  • 🌑 Awesome CMS using Notion
  • See click count statistics
  • 💠 Zero config, all customizable via env
  • 💅 Numerous themes

Link Tree Page

You can easily configure it on the notion database

Link Tree

Add New Link

Route: /new

You can add link straight from the website for easy access, don't worry this is protected with login page so no one will mess with your links

New Link

Link Details & Count

You can see the statistics with /:slug/detail route

Link Details

Categorized Tree

Every category will be made into a standalone tree on /c/:category route

Category

Themes

Themes you can choose

Dark Dark Light Light
Street Neon Street Monokai Monokai
Milky Milky
Comments
  • May I ask a question about environmental variables?

    May I ask a question about environmental variables?

    Excuse me, why did I enter text that did not contain a hyphen, and why did I automatically add a hyphen when deploying, resulting in deployment failure?

    Do you have this problem in vercel?

    image image
    opened by wumaorg 3
  • Update all Yarn dependencies (2022-12-22)

    Update all Yarn dependencies (2022-12-22)

    This is your weekly update of all Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ @svgr/webpack (6.2.1 → 6.5.1, minor) · Repo · Changelog · Release · Diff

    ✳️ clsx (1.1.1 → 1.2.1, minor) · Repo · Release · Diff

    ✳️ next (12.1.1 → 12.3.4, minor) · Repo · Diff

    ✳️ prettier (2.6.1 → 2.8.1, minor) · Repo · Changelog · Release · Diff

    ✳️ prettier-plugin-tailwindcss (0.1.8 → 0.1.13, minor)

    ✳️ react-copy-to-clipboard (5.0.4 → 5.1.0, minor) · Repo · Diff

    ✳️ react-hook-form (7.28.1 → 7.41.0, minor) · Repo · Changelog · Release · Diff

    ✳️ react-hot-toast (2.2.0 → 2.4.0, minor) · Repo · Release · Diff

    ✳️ react-icons (4.3.1 → 4.7.1, minor) · Repo · Release · Diff

    ✳️ react-query (3.34.17 → 3.39.2, minor) · Repo · Changelog · Release

    ✳️ standard-version (9.3.2 → 9.5.0, minor) · Repo · Changelog · Release · Diff

    ✳️ tailwind-merge (1.2.1 → 1.8.0, minor) · Repo · Release · Diff

    ✳️ tailwindcss (3.0.23 → 3.2.4, minor) · Repo · Changelog · Release · Diff

    ✳️ typescript (4.6.3 → 4.9.4, minor) · Repo · Release · Diff

    ✳️ @testing-library/jest-dom (5.16.3 → 5.16.5, patch) · Repo · Changelog · Release · Diff

    ✳️ @testing-library/react (12.1.4 → 12.1.5, patch) · Repo · Changelog · Release · Diff

    ✳️ @types/jsonwebtoken (8.5.8 → 8.5.9, patch) · Repo

    ✳️ @types/react (17.0.43 → 17.0.52, patch) · Repo

    ✳️ @types/react-copy-to-clipboard (5.0.2 → 5.0.4, patch) · Repo

    ✳️ autoprefixer (10.4.4 → 10.4.13, patch) · Repo · Changelog · Release · Diff

    ✳️ postcss (8.4.12 → 8.4.20, patch) · Repo · Changelog · Release · Diff

    ✳️ react-qr-code (2.0.3 → 2.0.11, patch) · Repo


    Depfu Status

    Depfu will only send you the next scheduled PR once you merge or close this one.

    All Depfu comment commands
    @​depfu refresh
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    depfu 
    opened by depfu[bot] 2
  • 🚨 [security] Update next: 12.0.10 → 12.1.0 (minor)

    🚨 [security] Update next: 12.0.10 → 12.1.0 (minor)


    🚨 Your current dependencies have known security vulnerabilities 🚨

    This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


    Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ next (12.0.10 → 12.1.0) · Repo

    Security Advisories 🚨

    🚨 Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0

    Impact

    • Affected: All of the following must be true to be affected
      • Next.js between version 10.0.0 and 12.0.10
      • The next.config.js file has images.domains array assigned
      • The image host assigned in images.domains allows user-provided SVG
    • Not affected: The next.config.js file has images.loader assigned to something other than default

    Patches

    Next.js 12.1.0

    Workarounds

    Change next.config.js to use a different loader configuration other than the default, for example:

    module.exports = {
      images: {
        loader: 'imgix',
        path: 'https://example.com/myaccount/',
      },
    }

    Or if you want to use the loader prop on the component, you can use custom:

    module.exports = {
      images: {
        loader: 'custom',
      },
    }
    Commits

    See the full diff on Github. The new version differs by more commits than we can show here.


    Depfu Status

    Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

    All Depfu comment commands
    @​depfu rebase
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    @​depfu pause
    Ignores all future updates for this dependency and closes this PR
    @​depfu pause [minor|major]
    Ignores all future minor/major updates for this dependency and closes this PR
    @​depfu resume
    Future versions of this dependency will create PRs again (leaves this PR as is)
    depfu 
    opened by depfu[bot] 2
  • 🚨 [security] Update next: 12.0.8 → 12.0.9 (patch)

    🚨 [security] Update next: 12.0.8 → 12.0.9 (patch)


    🚨 Your current dependencies have known security vulnerabilities 🚨

    This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


    Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ next (12.0.8 → 12.0.9) · Repo

    Security Advisories 🚨

    🚨 DOS Vulnerability for self-hosted next.js apps using i18n

    Impact

    Vulnerable code could allow a bad actor to trigger a denial of service attack for anyone running a Next.js app at version >= 12.0.0, and using i18n functionality.

    • Affected: All of the following must be true to be affected by this CVE
      • Next.js versions above v12.0.0
      • Using next start or a custom server
      • Using the built-in i18n support
    • Not affected:
      • Deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.

    Patches

    A patch has been released, [email protected], that mitigates this issue. We recommend all affected users upgrade as soon as possible.

    Workarounds

    We recommend upgrading whether you can reproduce or not although you can ensure /${locale}/_next/ is blocked from reaching the Next.js instance until you upgrade.

    For more information

    If you have any questions or comments about this advisory:

    Release Notes

    12.0.9

    Core Changes

    • middlewares: limit process.env to inferred usage: #33186
    • update webpack: #33207
    • Abstract out native filesystem usage from the base server: #33226
    • use text data url instead of base64 for shorter encoding: #33218
    • chore(deps): upgrade postcss: #33142
    • Fix global process testing for the process polyfill: #33220
    • Update swc: #33201
    • improve full refresh overlay: #33301
    • Custom app for server components: #33149
    • Update yarn PnP tests and disable swc file reading for PnP: #33236
    • Base Http for BaseServer: #32999
    • Update swc: #33342
    • Update check for fallback pages during export: #33323
    • Pre-compile more dependencies: #32742
    • Remove node fetch polyfill from base server: #33395
    • Replace regexp to plain string for optimization render HTML: #33306
    • Fix broken html on streaming render for error page: #33399
    • Disable cache for rsc pages: #33438
    • Fix pre-compiled check from copying react-refresh-utils: #33442
    • fix(next-swc): Update swc: #33427
    • Move middleware handling to node server: #33448
    • Enforce absolute URLs in Edge Functions runtime: #33410
    • feat(next-swc): Update swc: #33461
    • Update main field for nccd jest-worker: #33465
    • chore(deps): upgrade node-fetch: #33466
    • Move static serving to next server: #33475
    • feat(next-swc): Update swc: #33485
    • Fix multiple calls to image onLoadingComplete(): #33474
    • Refactor base server to remove native dependencies: #33499
    • Update swc: #33514
    • Implement abstract methods to get manifest files in the base server: #33537
    • Simplify getMiddlewareInfo calls: #33542
    • Fix static file check with i18n: #33503
    • Bump styled-jsx: #33546
    • Ensure optional value normalizing is correct for index: #33547
    • Bump nft to 0.17.4: #33548
    • Add next-multilingual example: #29386
    • Removed the s from NextConfig: #33560
    • feat(next-swc): Update swc: #33595
    • Fix rsc export component name detection: #33608
    • upgrade webpack: #33549
    • Ensure fetch polyfill is loaded in next-server: #33616
    • feat(next-swc): Update swc: #33628
    • Add lazyRoot optional property to next/image component : #33290
    • feat(next-swc): Update swc: #33675
    • Implement web server as the request handler for edge SSR: #33635
    • Relay Support in Rust Compiler: #33240
    • Revert "Relay Support in Rust Compiler": #33699

    Documentation Changes

    • Fixed broken link related to the recently merged Data fetching docs refactor: #33209
    • Removed backticks on data fetching api titles: #33216
    • Added links to data fetching api refs, fixed title: #33221
    • Remove outdated & possibly confusing statement about redirects: #33224
    • [examples] Add a statically generated blog example using Next.js and Builder.io: #22094
    • Typo Fix: #33252
    • Update font-optimization.md: #33266
    • Fixed broken links in data fetching docs: #33250
    • docs: Mention middleware for getStaticProps: #33273
    • Add sections for Remove React Properties and Remove Console to compiler docs: #33311
    • Update links in next export + next/image error message: #33317
    • Add onLoad gottcha note to next/script docs: #33097
    • Update security-headers.md: fix path does not match homepage: #33137
    • fix minor typo in SWR: #33378
    • ReferenceError in authentication.md example fixed: #33411
    • docs: fix url: #33409
    • fix(docs): Fix typo in Custom Build Id docs: #33515
    • [docs] Update authentication docs to fix iron-session link.: #33483
    • docs(authentication): fix iron-session example link: #33502
    • Update middleware documentation for custom server: #33535
    • Removed unrequired path in docs' manifest: #33579
    • Update next/server documentation for geo: #33609
    • Clarify next/image usage with next export based on feedback.: #33555
    • Clarify headers config option description: #33484
    • fix(errors/no-cache): netlify-plugin-cache-nextjs has been deprecated: #33629
    • Updated docs for getServerSideProps and getStaticProps return values: #33577
    • Use relative path for example: #33565
    • chore(docs): update security headers specification: #33673
    • REMOVE: duplicate key in docs/testing.md: #33681

    Example Changes

    • [examples] Update remark dependency for blog-starter: #33313
    • Update package.json for examples/with-supabase-auth-realtime-db: #33321
    • Working example for building forms with Next.js: #32669
    • Updates dependency version of frontend SDK in with-supertokens example: #33393
    • docs: add skynexui to examples: #33326
    • Update with-linaria dependency: #33487
    • Update Supabase example README.: #33610
    • [examples] Add new Tailwind CSS Prettier plugin to example: #33614

    Misc Changes

    • Update license year
    • fix(docs): master branch renaming: #33312
    • Add link to security email directly.: #33358
    • Fix getServerSideProps hanging in dev on early end: #33366
    • [docs] Fix 404 link for testing example.: #33407
    • Update to latest version of turbo: #33613
    • Update other instances of node-fetch: #33617

    Does any of this look wrong? Please let us know.

    Commits

    See the full diff on Github. The new version differs by more commits than we can show here.


    Depfu Status

    Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

    All Depfu comment commands
    @​depfu rebase
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    @​depfu pause
    Ignores all future updates for this dependency and closes this PR
    @​depfu pause [minor|major]
    Ignores all future minor/major updates for this dependency and closes this PR
    @​depfu resume
    Future versions of this dependency will create PRs again (leaves this PR as is)
    depfu 
    opened by depfu[bot] 2
  • Update all Yarn dependencies (2022-03-20)

    Update all Yarn dependencies (2022-03-20)

    This is your weekly update of all Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ prettier (2.5.1 → 2.6.0, minor) · Repo · Changelog · Release · Diff

    ✳️ react-hook-form (7.27.1 → 7.28.0, minor) · Repo · Changelog · Release · Diff

    ✳️ autoprefixer (10.4.2 → 10.4.4, patch) · Repo · Changelog · Diff

    ✳️ postcss (8.4.8 → 8.4.12, patch) · Repo · Changelog · Release · Diff


    Depfu Status

    Depfu will only send you the next scheduled PR once you merge or close this one.

    All Depfu comment commands
    @​depfu refresh
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    depfu 
    opened by depfu[bot] 1
  • Update all Yarn dependencies (2022-03-13)

    Update all Yarn dependencies (2022-03-13)

    This is your weekly update of all Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ @testing-library/react (12.1.3 → 12.1.4, patch) · Repo · Changelog · Release · Diff

    ✳️ @types/react (17.0.39 → 17.0.40, patch) · Repo

    ✳️ postcss (8.4.7 → 8.4.8, patch) · Repo · Changelog · Release · Diff


    Depfu Status

    Depfu will only send you the next scheduled PR once you merge or close this one.

    All Depfu comment commands
    @​depfu refresh
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    depfu 
    opened by depfu[bot] 1
  • Update all Yarn dependencies (2022-03-06)

    Update all Yarn dependencies (2022-03-06)

    This is your weekly update of all Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ @tailwindcss/forms (0.4.0 → 0.4.1, minor) · Repo · Changelog · Release · Diff

    ✳️ eslint-config-prettier (8.4.0 → 8.5.0, minor) · Repo · Changelog · Diff

    ✳️ typescript (4.5.5 → 4.6.2, minor) · Repo · Release · Diff


    Depfu Status

    Depfu will only send you the next scheduled PR once you merge or close this one.

    All Depfu comment commands
    @​depfu refresh
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    depfu 
    opened by depfu[bot] 1
  • Update all Yarn dependencies (2022-02-20)

    Update all Yarn dependencies (2022-02-20)

    This is your weekly update of all Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ next (12.0.10 → 12.1.0, minor) · Repo · Release · Diff

    ✳️ @testing-library/react (12.1.2 → 12.1.3, patch) · Repo · Changelog · Release · Diff

    ✳️ react-query (3.34.14 → 3.34.15, patch) · Repo · Changelog · Release · Diff

    ✳️ tailwindcss (3.0.22 → 3.0.23, patch) · Repo · Changelog · Release · Diff


    Depfu Status

    Depfu will only send you the next scheduled PR once you merge or close this one.

    All Depfu comment commands
    @​depfu refresh
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    depfu 
    opened by depfu[bot] 1
  • Update all Yarn dependencies (2022-02-13)

    Update all Yarn dependencies (2022-02-13)

    This is your weekly update of all Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ babel-jest (27.4.6 → 27.5.1, minor) · Repo · Changelog · Release · Diff

    ✳️ jest (27.4.7 → 27.5.1, minor) · Repo · Changelog · Release · Diff

    ✳️ prettier-plugin-tailwindcss (0.1.5 → 0.1.7, minor)

    ✳️ react-hook-form (7.26.0 → 7.27.0, minor) · Repo · Changelog · Release · Diff

    ✳️ react-query (3.34.12 → 3.34.14, patch) · Repo · Changelog · Release · Diff

    ✳️ tailwindcss (3.0.18 → 3.0.22, patch) · Repo · Changelog · Release · Diff


    Depfu Status

    Depfu will only send you the next scheduled PR once you merge or close this one.

    All Depfu comment commands
    @​depfu refresh
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    depfu 
    opened by depfu[bot] 1
  • Update all Yarn dependencies (2022-12-25)

    Update all Yarn dependencies (2022-12-25)

    This is your weekly update of all Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ @svgr/webpack (6.2.1 → 6.5.1, minor) · Repo · Changelog · Release · Diff

    ✳️ clsx (1.1.1 → 1.2.1, minor) · Repo · Release · Diff

    ✳️ next (12.1.1 → 12.3.4, minor) · Repo · Diff

    ✳️ prettier (2.6.1 → 2.8.1, minor) · Repo · Changelog · Release · Diff

    ✳️ prettier-plugin-tailwindcss (0.1.8 → 0.1.13, minor)

    ✳️ react-copy-to-clipboard (5.0.4 → 5.1.0, minor) · Repo · Diff

    ✳️ react-hook-form (7.28.1 → 7.41.1, minor) · Repo · Changelog · Release · Diff

    ✳️ react-hot-toast (2.2.0 → 2.4.0, minor) · Repo · Release · Diff

    ✳️ react-icons (4.3.1 → 4.7.1, minor) · Repo · Release · Diff

    ✳️ react-query (3.34.17 → 3.39.2, minor) · Repo · Changelog · Release

    ✳️ standard-version (9.3.2 → 9.5.0, minor) · Repo · Changelog · Release · Diff

    ✳️ tailwind-merge (1.2.1 → 1.8.1, minor) · Repo · Release · Diff

    ✳️ tailwindcss (3.0.23 → 3.2.4, minor) · Repo · Changelog · Release · Diff

    ✳️ typescript (4.6.3 → 4.9.4, minor) · Repo · Release · Diff

    ✳️ @testing-library/jest-dom (5.16.3 → 5.16.5, patch) · Repo · Changelog · Release · Diff

    ✳️ @testing-library/react (12.1.4 → 12.1.5, patch) · Repo · Changelog · Release · Diff

    ✳️ @types/jsonwebtoken (8.5.8 → 8.5.9, patch) · Repo

    ✳️ @types/react (17.0.43 → 17.0.52, patch) · Repo

    ✳️ @types/react-copy-to-clipboard (5.0.2 → 5.0.4, patch) · Repo

    ✳️ autoprefixer (10.4.4 → 10.4.13, patch) · Repo · Changelog · Release · Diff

    ✳️ postcss (8.4.12 → 8.4.20, patch) · Repo · Changelog · Release · Diff

    ✳️ react-qr-code (2.0.3 → 2.0.11, patch) · Repo


    Depfu Status

    Depfu will only send you the next scheduled PR once you merge or close this one.

    All Depfu comment commands
    @​depfu refresh
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    depfu 
    opened by depfu[bot] 1
  • 🚨 [security] Upgrade jsonwebtoken: 8.5.1 → 9.0.0 (major)

    🚨 [security] Upgrade jsonwebtoken: 8.5.1 → 9.0.0 (major)


    🚨 Your current dependencies have known security vulnerabilities 🚨

    This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


    Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

    What changed?

    ✳️ jsonwebtoken (8.5.1 → 9.0.0) · Repo · Changelog

    Security Advisories 🚨

    🚨 jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC

    Overview

    Versions <=8.5.1 of jsonwebtoken library can be misconfigured so that passing a poorly implemented key retrieval function (referring to the secretOrPublicKey argument from the readme link) will result in incorrect verification of tokens. There is a possibility of using a different algorithm and key combination in verification than the one that was used to sign the tokens. Specifically, tokens signed with an asymmetric public key could be verified with a symmetric HS256 algorithm. This can lead to successful validation of forged tokens.

    Am I affected?

    You will be affected if your application is supporting usage of both symmetric key and asymmetric key in jwt.verify() implementation with the same key retrieval function.

    How do I fix it?

    Update to version 9.0.0

    Will the fix impact my users?

    There is no impact for end users

    🚨 jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify()

    Overview

    In versions <=8.5.1 of jsonwebtoken library, lack of algorithm definition in the jwt.verify() function can lead to signature validation bypass due to defaulting to the none algorithm for signature verification.

    Am I affected?

    You will be affected if you do not specify algorithms in the jwt.verify() function

    How do I fix it?

    Update to version 9.0.0 which removes the default support for the none algorithm in the jwt.verify() method.

    Will the fix impact my users?

    There will be no impact, if you update to version 9.0.0 and you don’t need to allow for the none algorithm. If you need 'none' algorithm, you have to explicitly specify that in jwt.verify() options.

    🚨 jsonwebtoken unrestricted key type could lead to legacy keys usage

    Overview

    Versions <=8.5.1 of jsonwebtoken library could be misconfigured so that legacy, insecure key types are used for signature verification. For example, DSA keys could be used with the RS256 algorithm.

    Am I affected?

    You are affected if you are using an algorithm and a key type other than the combinations mentioned below

    Key type algorithm
    ec ES256, ES384, ES512
    rsa RS256, RS384, RS512, PS256, PS384, PS512
    rsa-pss PS256, PS384, PS512

    And for Elliptic Curve algorithms:

    alg Curve
    ES256 prime256v1
    ES384 secp384r1
    ES512 secp521r1

    How do I fix it?

    Update to version 9.0.0. This version validates for asymmetric key type and algorithm combinations. Please refer to the above mentioned algorithm / key type combinations for the valid secure configuration. After updating to version 9.0.0, If you still intend to continue with signing or verifying tokens using invalid key type/algorithm value combinations, you’ll need to set the allowInvalidAsymmetricKeyTypes option to true in the sign() and/or verify() functions.

    Will the fix impact my users?

    There will be no impact, if you update to version 9.0.0 and you already use a valid secure combination of key type and algorithm. Otherwise, use the allowInvalidAsymmetricKeyTypes option to true in the sign() and verify() functions to continue usage of invalid key type/algorithm combination in 9.0.0 for legacy compatibility.

    🚨 jsonwebtoken has insecure input validation in jwt.verify function

    Overview

    For versions <=8.5.1 of jsonwebtoken library, if a malicious actor has the ability to modify the key retrieval parameter (referring to the secretOrPublicKey argument from the readme link) of the jwt.verify() function, they can gain remote code execution (RCE).

    Am I affected?

    You are affected only if you allow untrusted entities to modify the key retrieval parameter of the jwt.verify() on a host that you control.

    How do I fix it?

    Update to version 9.0.0

    Will the fix impact my users?

    The fix has no impact on end users.

    Credits

    Palo Alto Networks

    Commits

    See the full diff on Github. The new version differs by 17 commits:


    Depfu Status

    Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

    All Depfu comment commands
    @​depfu rebase
    Rebases against your default branch and redoes this update
    @​depfu recreate
    Recreates this PR, overwriting any edits that you've made to it
    @​depfu merge
    Merges this PR once your tests are passing and conflicts are resolved
    @​depfu close
    Closes this PR and deletes the branch
    @​depfu reopen
    Restores the branch and reopens this PR (if it's closed)
    @​depfu pause
    Ignores all future updates for this dependency and closes this PR
    @​depfu pause [minor|major]
    Ignores all future minor/major updates for this dependency and closes this PR
    @​depfu resume
    Future versions of this dependency will create PRs again (leaves this PR as is)
    depfu 
    opened by depfu[bot] 2
Releases(v1.0.0)
  • v1.0.0(Feb 26, 2022)

    What's Changed

    • Update all Yarn dependencies (2022-02-13) by @depfu in https://github.com/theodorusclarence/notiolink/pull/33
    • Update all Yarn dependencies (2022-02-20) by @depfu in https://github.com/theodorusclarence/notiolink/pull/35
    • feat!: move config to env by @theodorusclarence in https://github.com/theodorusclarence/notiolink/pull/36

    v1 Difference

    Notiolink move all custom file to the environment variables. There are 2 new environment variable to update theme and application name

    # Notion Credentials
    NEXT_PUBLIC_NOTION_INTEGRATION_SECRET=
    NEXT_PUBLIC_NOTION_LINK_DATABASE_ID=
    NEXT_PUBLIC_NOTION_TREE_DATABASE_ID=
    
    # Password for application login
    NEXT_PUBLIC_APP_PASSWORD=
    
    # You can use random passphrase generator
    # @see https://notiolink.thcl.dev/passphrase
    NEXT_PUBLIC_APP_SECRET=
    
    # Application Configuration
    # Name on the index page
    NEXT_PUBLIC_APP_NAME=Notiolink
    
    # Theme
    # light | dark | milky | street | monokai
    NEXT_PUBLIC_APP_THEME=dark
    

    If you want to migrate to v1, the easiest way is to re-fork the project and add your existing environment variables with the new ones.

    Full Changelog: https://github.com/theodorusclarence/notiolink/compare/v0.3.2...v1.0.0

    Source code(tar.gz)
    Source code(zip)
  • v0.3.2(Feb 8, 2022)

    What's Changed

    • feat: add category input in new by @theodorusclarence in https://github.com/theodorusclarence/notiolink/pull/30

    Full Changelog: https://github.com/theodorusclarence/notiolink/compare/v0.3.1...v0.3.2

    Source code(tar.gz)
    Source code(zip)
  • v0.3.0(Feb 6, 2022)

    What's Changed

    • Update all Yarn dependencies (2022-02-06) by @depfu in https://github.com/theodorusclarence/notiolink/pull/27
    • feat!: add category tree by @theodorusclarence in https://github.com/theodorusclarence/notiolink/pull/28

    Breaking Changes

    Add this column to your Links Database:

    • name: category (all lowercase)
    • type: multi select

    image

    Full Changelog: https://github.com/theodorusclarence/notiolink/compare/v0.2.0...v0.3.0

    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Feb 6, 2022)

    What's Changed

    • v0.2 by @theodorusclarence in https://github.com/theodorusclarence/notiolink/pull/26

    Breaking Changes

    • additional config theme and demoMode

    Features

    Full Changelog: https://github.com/theodorusclarence/notiolink/compare/v0.1.1...v0.2.0

    Source code(tar.gz)
    Source code(zip)
  • v0.1.1(Feb 5, 2022)

    What's Changed

    • Update all Yarn dependencies (2022-01-23) by @depfu in https://github.com/theodorusclarence/notiolink/pull/19
    • Update all Yarn dependencies (2022-01-30) by @depfu in https://github.com/theodorusclarence/notiolink/pull/21
    • fix: qr code link error by @theodorusclarence in https://github.com/theodorusclarence/notiolink/pull/25

    New Contributors

    • @depfu made their first contribution in https://github.com/theodorusclarence/notiolink/pull/19

    Full Changelog: https://github.com/theodorusclarence/notiolink/compare/v0.1.0...v0.1.1

    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Jan 23, 2022)

    What's Changed

    Features

    Bug Fixes

    New Contributors

    • @theodorusclarence made their first contribution in https://github.com/theodorusclarence/notiolink/pull/1

    Full Changelog: https://github.com/theodorusclarence/notiolink/commits/v0.1.0

    Source code(tar.gz)
    Source code(zip)
Owner
Theodorus Clarence
I work with React Ecosystem, and write to teach people how to rebuild and redefine fundamental concepts through mental models.
Theodorus Clarence
😂 is a self-hostable blog engine built on the tech that powers christine.website

?? ?? is a blog engine powered by Deno. ?? has no canonical pronunciation, and users are not encouraged to come up with one. ?? is and always will be

Xe Iaso 25 Sep 4, 2022
A minimal & self-hostable alternative to pastebin intended for code

minBin A minimal & self-hostable alternative to pastebin intended for code Use ⌨️ A public instance is available at https://bin.kio.dev/ Building ?? n

Kio 4 Dec 29, 2022
📊🌍 Super small, light, privacy-focused, self-hostable web statistics provider

femtostats Update: It turns out Fathom Lite does everything I wanted to do except custom events for free, so I'm going to stop working on this for now

Ian Langworth ☠ 12 Nov 17, 2022
Mag🔥Lit - A super fast and easy-to-use free and open source private encrypted Magnet/HTTP(s) Link Shortener

Mag ?? Lit Mag ?? Lit - A super fast and easy-to-use free and open source private encrypted Magnet/HTTP(s) Link Shortener https://maglit.ml Features ✅

null 280 Jan 8, 2023
A file sharing service, where you can upload files and provide a download link for anyone on the internet by sharing the link 🔗 or via mail ✉️ which remains active for 24hours 🕙.

eShare | File Sharing App A file sharing service, where you can upload files and provide a download link for anyone on the internet by sharing the lin

Akhil Bhalerao 7 Nov 20, 2022
Welcome contributers❤️🎉. Just add your name, Github profile link and Linkedin link🔗 Look at Readme for more.📖

Hello Welcome Developers! Step - 1 Create a GitHub account, if you don't already have one. Step - 2 Register for Hacktoberfest: Navigate to the Hackto

Prineth Fernando 28 Oct 31, 2022
Another full-stack URL Shortener application built using web technologies

URL Shortener Another full-stack URL Shortener application built using web technologies. Technologies Node Express MongoDB React TypeScript Docker Pro

Soroush Chehresa 9 Dec 15, 2022
URL Shortener API in NodeJS supporting pagination, sort params and lot more

node-url-shortener Built with ❤️ in NodeJS A simple URL Shortner REST API that uses shortid npm package to generate short endpoints for your long URL.

Dhairya Ostwal 3 Sep 22, 2022
(🔗, 🌲) Web3 Link Tree is a free & open-source alternative to Linktree built with React.js, Next.js, Tailwind and Web3-React

Getting Started Read the detailed guide here Customize Add your name, wallet address, social media links and more in config.ts Images Save images to t

Naut 35 Sep 20, 2022
A URL shortener that runs on Cloudflare Workers

ITP Works A URL shortener that runs on Cloudflare Workers. It stores the rules in Cloudflare KV storage and sends a 301 redirect when a matched pathna

Yifei Gao 3 Mar 4, 2022
🔖Minimalistic URL shortener as a microservice

?? u Minimalistic URL shortener as a microservice. Also Klein's successor. ?? stack Node.js TypeScript Express Prisma PostgreSQL Redis Docker Docker C

Faye Keller 9 Jul 17, 2022
Our super simple URL shortener. Powered by Deno and Supabase.

Feelantera URL Shortener This is our super simple URL shortener. Powered by Supabase and Deno, and Oak for the http framework. You can deploy this pro

Feelantera 16 Oct 14, 2022
An open-source URL Shortener written in Node.js 🔗

What's this? Qurl.gq is an open-source URL Shortener written in Node.js ?? Contributing ideas Apply a custom font Add tests UI Improvements Sanitise u

RedstoneRadiant 7 Oct 7, 2022
Notion + Craft.do + Next.js

Forked from Nobelium Nobelium Plus Demo: https://zuolan.me Quick Start Duplicate Craigary's Notion template, and share it to the public Fork this proj

ZuoLan 42 Dec 22, 2022
There can be more than Notion and Miro. Affine is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

AFFiNE.PRO The Next-Gen Knowledge Base to Replace Notion & Miro. Planning, Sorting and Creating all Together. Open-source, Privacy-First, and Free to

Toeverything 12.1k Jan 9, 2023
A minimal norui portfolio example built with NextJS and powered by Notion 🚀.

Minimal Norui A minimal norui portfolio example built with NextJS and powered by Notion ?? . Links Demo Site Documentation Minimal Norui Notion Databa

Joeylene Rivera 4 Nov 13, 2022
100 Days of Code is a self improvement tool, where you make a commitment to solve 1 coding problem everyday for the next 100 days.

100 Days of Code is a self-improvement tool, where you make a commitment to solve 1 coding problem everyday for the next 100 days. This repository includes a range of tasks, lessons, resources, and challenges on various programming languages to help improve programming skills.

Tarleton Computer Society 7 Dec 14, 2022
A "link in bio" site built using the "T3" tech stack.

Create T3 App This is an app bootstrapped according to the init.tips stack, also known as the T3-Stack. Why are there .js files in here? As per T3-Axi

Joe 6 Sep 5, 2022
Generate link preview using our app, API or our NPM package.

get-link-preview ?? View the link preview using our App. Use the API to generate link preview in your app or use the NPM package to use the custom hoo

Siddhi Gate 25 Dec 21, 2022