
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
A powerful, interactive terminal date picker built with Ruby and rcurses. Features vim-style navigation, configurable date formats, multiple month views, and extensive keyboard shortcuts. Perfect for shell scripts and command-line workflows that need date selection.
~/.datepick
Install from RubyGems:
gem install datepick
Simply run datepick
in your terminal:
datepick
The selected date will be printed to stdout when you press Enter, making it perfect for shell scripts:
# Capture selected date in a variable
selected_date=$(datepick)
echo "You selected: $selected_date"
# Use in file operations
cp important_file.txt "backup_$(datepick).txt"
7g
jumps 7 days ahead30g
jumps 30 days aheadWhen configuring date format, you can either:
Use quick presets by entering a number (1-8):
1
: 2025-07-01 (ISO format)2
: 01/07/2025 (European)3
: 07/01/2025 (US format)4
: July 01, 2025 (Long format)5
: Jul 01, 2025 (Abbreviated)6
: 20250701 (Compact)7
: 01-Jul-2025 (DD-Mon-YYYY)8
: Tuesday, July 01, 2025 (Full with weekday)Enter custom format using Ruby's strftime syntax:
%Y-%m-%d
- ISO format (default)%d/%m/%Y
- European format%B %d, %Y
- Long formatAccess configuration by pressing c
:
Configuration is automatically saved to ~/.datepick
and persists between sessions.
#!/bin/bash
echo "Select a date for the backup:"
backup_date=$(datepick)
tar -czf "backup_${backup_date}.tar.gz" /important/files/
# Add to your .zshrc
function schedule() {
local date=$(datepick)
echo "Scheduled for: $date"
# Add your scheduling logic here
}
# Select a date and create a commit with that date
commit_date=$(datepick)
git commit --date="$commit_date" -m "Your commit message"
Clone the repository:
git clone https://github.com/isene/datepick.git
cd datepick
Install dependencies:
bundle install
Run locally:
ruby -Ilib bin/datepick
git checkout -b feature/amazing-feature
)git commit -m 'Add amazing feature'
)git push origin feature/amazing-feature
)Inspired by pickdate and designed to integrate seamlessly with terminal workflows.
This project is released under the Unlicense - see the project repository for details.
Created by Geir Isene
FAQs
Unknown package
We found that datepick demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.