Language: 🇺🇸
🇨🇳
This is a Chrome extension that allows for quick generation and preview of short links using Sink.
- Instantly shorten the current webpage URL into a Sink short link.
- Customizable short link suffix.
- Preview shortened links with quick copy functionality.
- Log in to your Sink account to manage generated short links.
- Popup Page
- QRCode Page
- Setting Page
- Setting Page - Login
- Clone the repository to your local machine
git clone https://github.com/zhuzhuyule/sink-extension.git
- Enter the project directory
cd sink-extension
- Install dependencies
pnpm install
- Start the development server
pnpm dev
# or
pnpm build
- Open Chrome browser and navigate to the Extensions page (chrome://extensions/).
- Enable Developer mode.
- Click the
Load unpacked extension
button. - Select the root directory of the extension
./sink-tool
.
You can install the extension using the following steps:
- Download the sink-tool.zip file.
- Extract the zip file.
- Open Chrome browser and navigate to the Extensions page (chrome://extensions/).
- Enable Developer mode.
- Click the
Load unpacked extension
button. - Select the root directory of the extension
sink-tool
.
- Install Sink service: refer to https://github.com/ccbikai/Sink
- Install the extension into the Chrome browser.
- Navigate to the webpage you want to shorten.
- Click the extension icon, customize the short link suffix (optional).
- Click the generate button, preview, and copy the short link.
- Preact: Lightweight UI library for building user interfaces.
- TypeScript: Adds type checking for better readability and maintainability.
- Vite: Fast development server and build tool.
- Tailwind CSS: Utility-first CSS framework for building modern interfaces.
- ESLint: Code style checker to ensure code quality.
- Prettier: Code formatter to maintain consistent style.
- Jest: JavaScript testing framework for unit and integration tests.
- Chrome Extension Manifest Version 3: The latest version of Chrome Extension spec.
Feel free to submit issues and pull requests!
Distributed under the MIT License.