Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions PRIVACY.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@

# Privacy Policy

Last updated: 2026-01-09
Last updated: 2026-02-21

## Overview

GitHub Slash Palette is a Chrome extension that adds slash commands to GitHub markdown text fields. Available commands include `/giphy`, `/emoji`, `/font`, `/kbd`, `/link`, `/mention`, `/mermaid`, and `/now`.
GitHub Slash Palette is a Chrome extension that adds slash commands for GitHub markdown fields. Includes GIF search, emoji picker, Mermaid diagrams, and more. Available commands include `//giphy`, `//emoji`, `//font`, `//kbd`, `//link`, `//mention`, `//mermaid`, and `//now`.

## Data We Process

### 1. Search Queries

- **`/giphy`**: Your search text is sent to the Giphy API to fetch GIF results.
- **`/link ci`**: Your GitHub token is used to fetch CI job and artifact data from the GitHub API for the current repository only.
- **`//giphy`**: Your search text is sent to the Giphy API to fetch GIF results.
- **`//link ci`**: Your GitHub token is used to fetch CI job and artifact data from the GitHub API for the current repository only.

### 2. API Keys and Tokens

- **Giphy API Key**: If you enter a Giphy API key, it is stored locally in your browser so the extension can call the Giphy API on your behalf.
- **GitHub Personal Access Token**: If you enter a GitHub token for `/link ci`, it is stored locally in your browser to authenticate with the GitHub API.
- **GitHub Personal Access Token**: If you enter a GitHub token for `//link ci`, it is stored locally in your browser to authenticate with the GitHub API.

### 3. Local Preferences

The extension stores some preferences locally to improve your experience:

- **Recently used emojis** (`/emoji`): Stored locally to show your favorites first.
- **Recently mentioned users** (`/mention`): Stored locally to suggest frequently mentioned users.
- **Recently used emojis** (`//emoji`): Stored locally to show your favorites first.
- **Recently mentioned users** (`//mention`): Stored locally to suggest frequently mentioned users.

## Where Data Is Stored

Expand All @@ -35,11 +35,11 @@ The extension stores some preferences locally to improve your experience:

### Giphy

When you use `/giphy`, your search query (and your API key) is sent to Giphy to retrieve results.
When you use `//giphy`, your search query (and your API key) is sent to Giphy to retrieve results.

### GitHub

When you use `/link ci`, your token is sent to GitHub's API (`api.github.com`) to fetch CI job and artifact data for the current repository.
When you use `//link ci`, your token is sent to GitHub's API (`api.github.com`) to fetch CI job and artifact data for the current repository.

No other third-party services are contacted by the extension.

Expand All @@ -61,8 +61,8 @@ The extension does not use analytics, tracking pixels, advertising identifiers,
## Permissions Explanation

- **storage**: Used to save local settings, including API keys, tokens, and recently used items.
- **Host permission `https://api.giphy.com`**: Used for `/giphy` search requests and GIF previews.
- **Host permission `https://api.github.com`**: Used for `/link ci` to fetch CI job and artifact data.
- **Host permission `https://api.giphy.com`**: Used for `//giphy` search requests and GIF previews.
- **Host permission `https://api.github.com`**: Used for `//link ci` to fetch CI job and artifact data.

## Contact

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ Try the extension without installing it. All deployments (main + PR previews): *

---

## Screenshots

<img src="src/assets/screenshot1.png" width="200" alt="Slash command palette listing available commands" />
<img src="src/assets/screenshot2.png" width="200" alt="Giphy search results with GIF previews" />
<img src="src/assets/screenshot3.png" width="200" alt="Mermaid diagram search results" />
<img src="src/assets/screenshot4.png" width="200" alt="Emoji picker showing search results" />
<img src="src/assets/screenshot5.png" width="200" alt="Giphy GIF insert settings" />

---

## Features

- Adds slash command palette to GitHub markdown textareas
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "github-slash-palette",
"version": "0.0.5",
"version": "0.0.6",
"description": "Slash commands for GitHub markdown fields",
"type": "module",
"scripts": {
Expand Down
Binary file added src/assets/big_ad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icon.ico
Binary file not shown.
Binary file modified src/assets/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/icon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/icon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/screenshot3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/screenshot4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/screenshot5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/small_ad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/content/commands/commands-list/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Commands List Module
*
* This module exports everything needed for the "/" slash command:
* This module exports everything needed for the "//" slash command:
* - Command implementation for listing all available commands
*/

Expand Down
2 changes: 1 addition & 1 deletion src/content/commands/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function registerCommand(name: string, spec: CommandSpec, metadata?: Comm
}

export function getCommand(name: string): CommandSpec | null {
// Allow empty string for "/" command (command list)
// Allow empty string for "//" command (command list)
// Only reject null/undefined, accept empty string
if (name === null || name === undefined) return null
return commandRegistry[name] || null
Expand Down
2 changes: 1 addition & 1 deletion src/content/picker/components/PickerHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function PickerHeader({
fontWeight: 500,
}}
>
/
//
</span>
<span
style={{
Expand Down