Skip to content

About

A Chrome extension to save the current page to Pokke https://pokke.femto-cloud.com/ with a single click.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Pokke Bookmark Extension

A Chrome extension to save the current page to Pokke with a single click.

Features

  • Save the current page's URL and title to Pokke simply by clicking the toolbar icon.
  • Notifications via badge on the icon:
    • … : Saving in progress
    • OK : Saved successfully
    • ERR : Error occurred
    • KEY : API Key not set
    • WS : Workspace ID not set

Setup

1. Installation

You can install the extension by downloading it from the release page or by building it from source.

Option 1: Download from Release Page

  1. Go to the Releases page.
  2. Download chrome-extension.zip from the latest release.
  3. Unzip the downloaded file.
  4. Open chrome://extensions/ in Chrome.
  5. Enable Developer mode at the top right.
  6. Click Load unpacked and select the unzipped directory.

Option 2: Build from Source

  1. Clone the repository and install dependencies:
    pnpm install
  2. Build the project:
    pnpm build
  3. Open chrome://extensions/ in your Chrome browser.
  4. Enable "Developer mode" in the top right corner.
  5. Click "Load unpacked" and select the dist directory of this project.

2. Configuration

Before using the extension, you need to configure your Pokke credentials.

  1. Right-click the Pokke extension icon in the Chrome toolbar and select "Options".
  2. In the settings page, enter the following information and click "Save":
    • API Key: Your API key issued by Pokke.
    • Workspace ID: The ID of the workspace where bookmarks will be saved.

You can find this information in your Pokke settings.

Development

This project is built with Vite + TypeScript.

Available Commands

  • Build

    pnpm build

    Outputs the extension files to the dist directory.

  • Package

    pnpm build:zip

    Builds the project and creates chrome-extension.zip for store submission.

  • Type Check

    pnpm typecheck
  • Lint / Format

    pnpm lint

    Checks and fixes code using Biome.

  • Test

    pnpm test

    Runs tests using Vitest.

File Structure

  • src/background.ts: Background script (API integration, badge control, etc.)
  • src/optionsPage.html: Options page (Settings)
  • src/actionHandler.ts: Logic for handling action clicks
  • manifest.json: Extension manifest file

About

A Chrome extension to save the current page to Pokke https://pokke.femto-cloud.com/ with a single click.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages