remove unused commands

This commit is contained in:
cade
2023-04-25 19:30:11 -07:00
parent 564735c8cd
commit 2c76f62a1e
+18 -153
View File
@@ -42,130 +42,26 @@
}; };
const COMMANDS = new Map([ const COMMANDS = new Map([
[ ['b', { name: 'Dribbble', url: 'https://dribbble.com/shots/popular' }],
'a', ['c', { name: 'Calendar', url: 'https://calendar.google.com' }],
{ ['d', { name: 'Drive', url: 'https://drive.google.com' }],
name: 'AWS', ['f', { name: 'Figma', url: 'https://www.figma.com/files/recent' }],
suggestions: [ ['g', { name: 'GitHub', url: 'https://github.com' }],
'a/cognito/v2/idp/user-pools', ['h', { name: 'Hypem', url: 'https://hypem.com/popular' }],
'a/dynamodbv2#item-explorer', ['i', { name: 'GPT', url: 'https://chat.openai.com/chat' }],
], ['k', { name: 'Keep', url: 'https://keep.google.com' }],
url: 'https://us-west-2.console.aws.amazon.com/console/home', ['l', { name: 'Translate', url: 'https://translate.google.com' }],
},
],
[
'b',
{
name: 'Dribbble',
searchTemplate: '/search/{}',
suggestions: [
'b/shots/popular/product-design',
'b/shots/popular/web-design',
],
url: 'https://dribbble.com/shots/popular',
},
],
[
'c',
{
name: 'Calendar',
searchTemplate: '/calendar/u/0/r/search?q={}',
suggestions: ['c/calendar/u/1/r', 'c/calendar/u/2/r'],
url: 'https://calendar.google.com/calendar/u/0/r',
},
],
[
'd',
{
name: 'Drive',
searchTemplate: '/drive/u/0/search?q={}',
suggestions: ['d/drive/u/1/my-drive', 'd/drive/u/2/my-drive'],
url: 'https://drive.google.com/drive/u/0/my-drive',
},
],
[
'e',
{
name: 'DALL·E',
suggestions: ['e/history', 'e/collections'],
url: 'https://labs.openai.com',
},
],
[
'f',
{
name: 'Figma',
suggestions: [
'f/file/new',
'f/file/new?editor_type=whiteboard',
'f/community',
],
url: 'https://www.figma.com/files/recent',
},
],
[
'g',
{
name: 'GitHub',
searchTemplate: '/search?q={}',
suggestions: [
'g/topics',
'g/trending',
'g/collections',
'gist.github.com',
],
url: 'https://github.com',
},
],
[
'h',
{
name: 'Hypem',
searchTemplate: '/search/{}',
suggestions: ['h/stack', 'h/mixes', 'h/popular/lastweek', 'h/tags'],
url: 'https://hypem.com/popular',
},
],
[
'i',
{ name: 'ChatGPT', url: 'https://chat.openai.com/chat/?model=gpt-4' },
],
[
'k',
{
name: 'Keep',
searchTemplate: '/u/0/#search/text={}',
suggestions: ['k/u/1', 'k/u/2'],
url: 'https://keep.google.com/u/0',
},
],
[
'l',
{
name: 'Translate',
searchTemplate: '/?sl=en&tl=es&text={}',
url: 'https://translate.google.com',
},
],
['m', { name: 'Mail', url: 'https://mail.proton.me/u/0/inbox' }], ['m', { name: 'Mail', url: 'https://mail.proton.me/u/0/inbox' }],
['n', { name: 'Notion', url: 'https://www.notion.so' }], ['n', { name: 'Notion', url: 'https://www.notion.so' }],
['o', { name: 'Discord', url: 'https://discord.com/channels/@me' }], ['o', { name: 'Discord', url: 'https://discord.com/channels/@me' }],
[ ['p', { name: 'Products', url: 'https://www.producthunt.com' }],
'p',
{
name: 'Products',
searchTemplate: '/search?q={}',
suggestions: ['p/products', 'p/topics', 'p/time-travel'],
url: 'https://www.producthunt.com',
},
],
[ [
'r', 'r',
{ {
name: 'Reddit', name: 'Reddit',
searchTemplate: '/search?q={}', searchTemplate: '/search?q={}',
suggestions: [ suggestions: [
'r/r/webdev', 'r/r/superstonk',
'r/r/startpages', 'r/r/startpages',
'r/r/onebag', 'r/r/onebag',
'r/r/fujix', 'r/r/fujix',
@@ -177,50 +73,20 @@
's', 's',
{ {
name: 'Slack', name: 'Slack',
suggestions: ['s/shiftnudge', 's/ayp'], suggestions: ['s/sn', 's/ayp'],
url: 'https://app.slack.com', url: 'https://app.slack.com',
}, },
], ],
['s/shiftnudge', { command: 's/client/T09M5UWSV' }], ['s/sn', { command: 's/client/T09M5UWSV' }],
['s/ayp', { command: 's/client/T03VB9LJ0AF' }], ['s/ayp', { command: 's/client/T03VB9LJ0AF' }],
[ ['t', { name: 'Twitter', url: 'https://twitter.com/home' }],
't',
{
name: 'Twitter',
searchTemplate: '/search?q={}',
suggestions: [
't/sidebird',
't/explore/tabs/trending',
't/hashtag/buildinpublic?f=live',
],
url: 'https://twitter.com/home',
},
],
['t/sidebird', { url: 'https://www.sidebird.io/write' }],
['u', { name: 'Supabase', url: 'https://app.supabase.com/projects' }], ['u', { name: 'Supabase', url: 'https://app.supabase.com/projects' }],
[ ['v', { name: 'Vercel', url: 'https://vercel.com/dashboard' }],
'v',
{
name: 'Vercel',
suggestions: ['v/dashboard/activity', 'v/dashboard/usage'],
url: 'https://vercel.com/dashboard',
},
],
[
'w',
{
name: 'Wikipedia',
searchTemplate: '/w/index.php?search={}',
suggestions: ['w/wiki/Portal:Current_events', 'w/wiki/Special:Random'],
url: 'https://en.wikipedia.org/wiki/Main_Page',
},
],
[ [
'y', 'y',
{ {
name: 'YouTube', name: 'YouTube',
searchTemplate: '/results?search_query={}', searchTemplate: '/results?search_query={}',
suggestions: ['y/trending', 'y/music', 'y/gaming', 'y/sports'],
url: 'https://youtube.com/feed/subscriptions', url: 'https://youtube.com/feed/subscriptions',
}, },
], ],
@@ -229,11 +95,10 @@
{ {
name: 'localhost', name: 'localhost',
searchTemplate: ':{}', searchTemplate: ':{}',
suggestions: ['0 54323', '0 8000'], suggestions: ['0 54323', '0 8000', '0 32400', '0 8080'],
url: 'http://localhost:3000', url: 'http://localhost:3000',
}, },
], ],
['?', { name: 'README', url: 'https://github.com/xvvvyz/tilde' }],
]); ]);
</script> </script>
@@ -295,8 +160,8 @@
@media (min-width: 1200px) { @media (min-width: 1200px) {
.commands { .commands {
columns: 6; columns: 5;
max-width: 60rem; max-width: 50rem;
} }
} }
</style> </style>