{"id":23960513,"url":"https://github.com/zerosonesfun/shorty","last_synced_at":"2026-04-29T16:01:07.982Z","repository":{"id":270269671,"uuid":"909817142","full_name":"zerosonesfun/shorty","owner":"zerosonesfun","description":"A WordPress plugin that lets you effortlessly add keyboard shortcuts.","archived":false,"fork":false,"pushed_at":"2025-12-17T20:03:44.000Z","size":173,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T08:05:12.010Z","etag":null,"topics":["javascript","keyboard-shortcuts","php","shortcuts","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wilcosky.com/shorty","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zerosonesfun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-29T21:26:00.000Z","updated_at":"2025-12-17T20:03:21.000Z","dependencies_parsed_at":"2024-12-29T22:23:12.440Z","dependency_job_id":"a51ce05b-2442-470c-b1d4-189843f3f05a","html_url":"https://github.com/zerosonesfun/shorty","commit_stats":null,"previous_names":["zerosonesfun/shorty"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zerosonesfun/shorty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosonesfun%2Fshorty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosonesfun%2Fshorty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosonesfun%2Fshorty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosonesfun%2Fshorty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerosonesfun","download_url":"https://codeload.github.com/zerosonesfun/shorty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosonesfun%2Fshorty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32432917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","keyboard-shortcuts","php","shortcuts","wordpress","wordpress-plugin"],"created_at":"2025-01-06T19:29:14.886Z","updated_at":"2026-04-29T16:01:07.976Z","avatar_url":"https://github.com/zerosonesfun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shorty - WordPress Keyboard Shortcuts Plugin\n\nA powerful WordPress plugin that allows site administrators to create custom keyboard shortcuts for quick navigation to any URL on their website.\n\n![Shorty Plugin](https://img.shields.io/badge/WordPress-Plugin-blue.svg)\n![Version](https://img.shields.io/badge/Version-1.1-green.svg)\n![License](https://img.shields.io/badge/License-GPL%20v2%2B-orange.svg)\n\n## 🚀 Features\n\n### ✨ Core Functionality\n- **Custom Keyboard Shortcuts**: Create unlimited keyboard shortcuts for any URL\n- **Configurable Modifier Keys**: Choose from 7 different modifier key combinations:\n  - Ctrl + Shift (default)\n  - Alt + Shift\n  - Ctrl + Alt\n  - Ctrl + Meta (Cmd on Mac)\n  - Alt + Meta (Cmd on Mac)\n  - Shift + Meta (Cmd on Mac)\n  - Ctrl + Shift + Alt\n\n### 🎯 User Experience\n- **Shortcuts Modal**: Press `Ctrl+/` (or `Cmd+/` on Mac) to see all available shortcuts\n- **Custom Modal Text**: Add your own instructions, branding, or helpful information\n- **Frontend \u0026 Backend**: Works on both admin and public-facing pages\n- **Responsive Design**: Clean, modern interface with sharp corners\n\n### 🌍 Internationalization\n- **Multi-language Support**: Fully translated into:\n  - Spanish (es_ES)\n  - French (fr_FR)\n  - Chinese Simplified (zh_CN)\n  - Japanese (ja)\n- **Translation Ready**: Easy to add new languages\n\n### 🔧 Technical Features\n- **WordPress Standards**: Follows WordPress coding standards and best practices\n- **Clean Uninstall**: Properly removes all data when uninstalled\n- **Performance Optimized**: Lightweight and fast\n- **Security**: Proper sanitization and escaping\n\n## 📦 Installation\n\n### Method 1: Manual Installation\n1. Download the plugin files\n2. Upload the `shorty` folder to `/wp-content/plugins/`\n3. Activate the plugin through the 'Plugins' menu in WordPress\n4. Go to **Settings \u003e Shorty** to configure your shortcuts\n\n### Method 2: WordPress Admin\n1. Go to **Plugins \u003e Add New**\n2. Click **Upload Plugin**\n3. Choose the plugin zip file\n4. Click **Install Now** and then **Activate**\n\n## ⚙️ Configuration\n\n### Setting Up Shortcuts\n1. Navigate to **Settings \u003e Shorty**\n2. Choose your preferred modifier key combination\n3. Add custom text for the shortcuts modal (optional)\n4. Add keyboard keys and their corresponding URLs\n5. Click **Save Changes**\n\n### Example Shortcuts\n| Key | URL | Description |\n|-----|-----|-------------|\n| `A` | `/about` | Navigate to About page |\n| `C` | `/contact` | Navigate to Contact page |\n| `B` | `/blog` | Navigate to Blog page |\n| `H` | `/` | Navigate to Home page |\n\n### Using Shortcuts\n- **Default**: Press `Ctrl + Shift + [Key]` to navigate\n- **Custom**: Use your chosen modifier combination + [Key]\n- **Help**: Press `Ctrl+/` (or `Cmd+/` on Mac) to see all shortcuts\n\n## 🌐 Internationalization\n\nThe plugin is fully translated and ready for international use:\n\n### Available Languages\n- **Spanish (es_ES)** - Español\n- **French (fr_FR)** - Français\n- **Chinese Simplified (zh_CN)** - 简体中文\n- **Japanese (ja)** - 日本語\n\n### Adding New Languages\n1. Copy `languages/shorty.pot` to `languages/shorty-[language_code].po`\n2. Translate the strings using a tool like Poedit\n3. Compile to MO format: `msgfmt -o shorty-[language_code].mo shorty-[language_code].po`\n4. The translation will be automatically available\n\n## 🛠️ Development\n\n### File Structure\n```\nshorty/\n├── includes/\n│   ├── admin.php          # Admin settings page\n│   ├── enqueue.php        # Script and style enqueuing\n│   ├── shortcuts.php      # Shortcut handling functions\n│   └── js/\n│       └── shorty.js      # Frontend JavaScript\n├── languages/             # Translation files\n├── shorty.php            # Main plugin file\n├── uninstall.php         # Cleanup on uninstall\n└── README.md             # This file\n```\n\n### Hooks and Filters\nThe plugin uses WordPress standard hooks and follows best practices for extensibility.\n\n### Contributing\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Test thoroughly\n5. Submit a pull request\n\n## 📋 Requirements\n\n- **WordPress**: 5.0 or higher\n- **PHP**: 7.4 or higher\n- **Browser**: Modern browser with JavaScript enabled\n\n## 🔒 Security\n\n- All user inputs are properly sanitized\n- Output is properly escaped\n- Follows WordPress security best practices\n- No direct file access allowed\n\n## 📄 License\n\nThis plugin is licensed under the GPL v2 or later.\n\n```\nCopyright (C) 2024 Billy Wilcosky\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n```\n\n## 👨‍💻 Author\n\n**Billy Wilcosky**\n- Website: [https://wilcosky.com](https://wilcosky.com)\n- Email: billy@wilcosky.com\n\n## 🤝 Support\n\n- **Documentation**: Check the plugin settings page for help\n- **Issues**: Report bugs or feature requests on GitHub\n- **Translations**: Contribute translations to make the plugin available in more languages\n\n## 🎉 Changelog\n\n### Version 1.1.1\n- Compatibility checks with WordPress 6.9\n\n### Version 1.0\n- Initial release\n- Custom keyboard shortcuts functionality\n- Configurable modifier keys\n- Shortcuts modal with `Ctrl+/` trigger\n- Custom modal text support\n- Multi-language support (Spanish, French, Chinese, Japanese)\n- WordPress standards compliance\n- Clean uninstall functionality\n\n---\n\n**Made with ❤️ for the WordPress community**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerosonesfun%2Fshorty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerosonesfun%2Fshorty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerosonesfun%2Fshorty/lists"}