Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/pkglnk-unity.git

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **PkgLnk** to your Unity project via Package Manager:

1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/pkglnk-unity.git
```

[![pkglnk](https://www.pkglnk.dev/badge/pkglnk-unity.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/pkglnk-unity)

README

PkgLnk for Unity

License: MIT Unity 2022.3+

PkgLnk is a free Unity Editor plugin that lets you browse, search, and install Unity packages from the pkglnk.dev package directory — directly inside the Unity Editor via the Unity Package Manager (UPM). No more copy-pasting git URLs.

Installation

Add PkgLnk to your Unity project via Package Manager:

  1. Open Window > Package Manager
  2. Click + > Add package from git URL
  3. Enter:
https://www.pkglnk.dev/pkglnk-unity.git

pkglnk

Support

If you like my work then please consider showing your support by buying me a brew

Buy Me A Coffee

Features

PkgLnk Unity Editor window showing package browser grid with search, filters, and one-click install

Package Browser

A responsive card grid with infinite scroll for browsing the full pkglnk.dev directory. Cards display the package image (or a placeholder icon), name, description, topic tags, star count, and install count. Installed packages are highlighted with a green border for quick identification.

Search

Real-time debounced search filters packages as you type. Results update automatically with smooth skeleton loading states.

Real-time search filtering Unity packages by name and description

Filters

A multi-criteria filter system lets you narrow packages by:

  • Install status — All, Installed, Not Installed
  • Bookmark status — All, Bookmarked, Not Bookmarked
  • Visibility — All, Public, Private
  • Platform — GitHub, GitLab, Bitbucket
  • Topics — Select one or more topic tags

Active filter count is shown as a badge on the filter button. Filters compose with search for precise results.

Filter dropdown for narrowing Unity packages by install status, platform, and topic

Package Details

Click any card to view full package details including description, repository owner, platform, star count, install count, last updated date, package name, and topic tags. Clickable topic tags navigate back to the grid filtered by that topic.

Package detail view showing description, repository info, install count, and install button

One-Click Install via Unity Package Manager

Install any package directly into your project through the Unity Package Manager. The install button shows real-time status — whether a package is already installed, currently installing, or available to install.

Bookmarks

Sign in to bookmark packages for quick access. Toggle bookmarks directly from cards using the star icon. The Bookmarks tab shows all your bookmarked packages in one place.

Bookmarked Unity packages with star icon for quick access

Sign In

Browser-based OAuth authentication through pkglnk.dev. Sign in with GitHub, GitLab, or Bitbucket to access bookmarks and manage your packages. The sign-in flow opens your system browser and returns the session to Unity automatically.

OAuth sign-in modal for GitHub, GitLab, and Bitbucket authentication

Usage

Open the window via the menu:

Tools → PkgLnk → PkgLnk Window

From there you can:

  1. Browse — Scroll through the full package directory
  2. Search — Type in the search bar to filter by name or description
  3. Filter — Click the filter button to narrow results by status, platform, or topic
  4. View details — Click any card to see full package information
  5. Install — Click the install button on a card or in the detail view
  6. Sign in — Click "Sign In" in the header to authenticate via your browser
  7. Bookmark — Click the star icon on any card to save it to your bookmarks
  8. My Packages — View packages you own (requires sign-in)

Requirements

  • Unity 2022.3 or later
  • Internet connection for browsing and installing packages
  • No external dependencies — pure Unity UI Toolkit

Architecture

The package is editor-only and lives entirely under Editor/:

Editor/
ā”œā”€ā”€ Api/                    # API client, data models, auth, package installer
ā”œā”€ā”€ PkgLnkWindow/           # UI Toolkit views, card grid, filters, detail view
ā”œā”€ā”€ Utils/                  # Image loader, date/format utilities
ā”œā”€ā”€ Icons/                  # Package icons (logo, placeholder)
└── Styles/                 # USS stylesheets (dark + light themes)

Key implementation details:

  • Virtualized grid — A fixed pool of card elements is circularly reused as the user scrolls, providing zero-allocation scrolling regardless of dataset size
  • Prefetch-ahead — Data is fetched 3 viewports ahead of the scroll position for seamless infinite scroll
  • Ghost cards — Skeleton loading states are shown for cards beyond loaded data
  • Optimistic UI — Bookmark toggles update immediately while the API call completes in the background

License

MIT License — see LICENSE for details.

Links

Comments

No comments yet. Be the first!