Skip to content

Commit

Permalink
Various features, move to separate repository
Browse files Browse the repository at this point in the history
  • Loading branch information
SKaplanOfficial committed May 23, 2023
1 parent 25c8ed9 commit d3a4570
Show file tree
Hide file tree
Showing 29 changed files with 5,829 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"root": true,
"env": {
"es2020": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"]
}
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# misc
.DS_Store

raycast-env.d.ts
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Pins Changelog

## [Minor Improvements] - 2023-05-23

- Added per-pin "Open With" setting to allow you to choose which application to open the pin in
- Added per-pin "Expiration Date" setting to automatically remove the pin after a given date & time
- Added support for pinning Terminal commands

## [Minor Improvements] - 2023-05-22

- Added "Preferred Browser" setting to allow you to choose which browser to open links in
- Added support for tilde expansion in paths
- Added menu items for "Pin This Tab", "Pin This Directory", and "Pin This App"
- Added 'Show "Pin This" shortcut' setting to allow you to hide the "Pin This" items
- Added "Create New Pin" and "Create New Group" actions
- Added "Duplicate Pin" action
- When adding a new pin, the icon dropdown will now show the favicon or file icon of the URL/path

## [Initial Version] - 2022-10-05
18 changes: 18 additions & 0 deletions DEVLOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Pins DevLog - A more detailed changelog

### 2023-05-22

- Added per-pin "Open With" setting to allow you to choose which application to open the pin in
- Defaults to "None", which will open the pin in the default application for the URL/path
- Attempts to determine likely applications based on the URL/path
- Added per-pin "Expiration Date" setting to automatically remove the pin after a given date & time
- Added support for pinning Terminal commands
- Command will run in a new Terminal tab
- Added "Pin This/These File(s)" menu item for pinning the selected file(s) in Finder
- When multiple files are selected, a new group will be automatically created to contain the pins
- Added "Pin All Tabs" menu item for pinning all tabs in the current browser window (for supported browsers)
- When multiple tabs are selected, a new group will be automatically created to contain the pins
- Add ability to reorder groups (i.e. move up/down in the list & in menu bar menu)
- Fixed bug where NEXT_PIN_ID would not be set upon importing data, causing repeated pin IDs
- Fixed bug where pins would attempt to fetch favicons for non-URL targets, causing endless warnings in the console
- Fixed bug where "Pin This Tab" would fail if the tab name contained commas
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Pins

A Raycast extension for pinning anything with a path or URL to the menu bar, with pinnable Terminal commands as well. Quickly navigate to your favorite sites, folders, and files, conveniently execute Terminal commands, and intuitively manage pins and groups from within Raycast.

<img src="./assets/pins-5.png" alt="Example of the Pins menu bar extra in action, showing pinned sites, folders, Terminal commands, and groups." width="600" />

## Feature Overview:

- Pin sites, files, folders, apps, and Terminal commands to your menu bar
- Pin any kind of URL, using any kind of URL scheme
- Pin current browser tab or Finder selection with a single click
- Pin Terminal commands to run in a new Terminal tab
- Customize pin icons
- Create groups to organize pins into
- Customize group icons
- Edit pins and groups as desired
- Move/rearrange pins and groups as desired
- View pins and groups in the menu bar or within Raycast
- Configure menu settings
- Open all pins in a group
- Import/Export JSON data
- Highly configurable

## Commands:

- Show Pins - Initiates the menu bar extra
- View Pins - Lists all pins, allows you to edit existing or rearrange existing pins
- View Groups - Lists all groups, allows you to edit existing groups
- New Pin - Creates a new pin with a given name, URL/path, icon, and group assignment
- New Group - Creates a new group with a given name and icon
- Copy Pins - Copies a JSON representation of your pins and groups to the clipboard
- Import Data - Imports a JSON string containing pins and groups
Binary file added assets/command-icon.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 assets/no-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/pin-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/pin-icon@dark.svg
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 assets/pins-5.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 metadata/pins-2.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 metadata/pins-3.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 metadata/pins-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d3a4570

Please sign in to comment.