Skip to content
Open
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
4 changes: 4 additions & 0 deletions extensions/dated-folder/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.DS_Store
raycast-env.d.ts
4 changes: 4 additions & 0 deletions extensions/dated-folder/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
7 changes: 7 additions & 0 deletions extensions/dated-folder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Dated Folder Changelog

## [Initial Version] - {PR_MERGE_DATE}

- Create a folder named after today's date and open it in a terminal
- Preferences for parent folder, terminal app, folder name format, and revealing in Finder
- Follows the system default terminal when no app is chosen
22 changes: 22 additions & 0 deletions extensions/dated-folder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Dated Folder

Create a folder named after today's date (for example `2026-08-28`) inside a folder of your choice, then open it straight in your terminal. Handy for scratch work, downloads triage, daily notes, or anything you want grouped by day.

## Usage

Run **Create Dated Folder**. That is it — the folder is created (or reused if it already exists), a terminal window opens inside it, and a HUD confirms the path.

## Preferences

| Preference | Default | Notes |
| --- | --- | --- |
| **Parent Folder** | `Desktop/temp` | Where dated folders are created. It is created on first run if missing. On Windows the real Desktop location is used, even when OneDrive or a policy has moved it. |
| **Terminal** | System default | Any installed app. When empty, macOS follows the terminal registered as the default handler for shell scripts — the setting apps like Ghostty, iTerm2, and Warp write when you accept "make this your default terminal" — and falls back to Terminal.app. Windows uses Windows Terminal when installed, otherwise Windows PowerShell. |
| **Folder Name Format** | `yyyy-MM-dd` | Tokens: `yyyy`, `MM`, `dd`, `HH`, `mm`, `ss`. Wrap words in single quotes to keep them literal, e.g. `'summer'-yyyy` → `summer-2026`. Use `/` to nest, e.g. `yyyy/MM/dd` creates `2026/08/28`. The result must stay inside the parent folder. |
| **Reveal** | Off | Also reveal the folder in Finder / File Explorer. |

## Notes

- **Folder name format** — tokens are expanded wherever they appear, so quote any word that contains one: `'add'-yyyy` rather than `add-yyyy`, which would otherwise read `dd` as the day. `''` produces a single quote.
- **macOS** — the folder is opened with the chosen app via `open`, so any terminal that accepts a folder works (Terminal, iTerm2, Ghostty, Warp, kitty, WezTerm, …).
- **Windows** — Windows Terminal is launched with `-d <folder>`; other apps and shells are started with the folder as their working directory. The code is in place but has not been verified on a real Windows machine yet, so the extension currently declares macOS only.
Binary file added extensions/dated-folder/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.
4 changes: 4 additions & 0 deletions extensions/dated-folder/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { defineConfig } from "eslint/config";
import raycastConfig from "@raycast/eslint-config";

export default defineConfig([...raycastConfig]);
Loading
Loading