jessepollak / command

:black_nib: Making the web better with Slack-like slash commands.
http://slashcommand.club
MIT License
1.11k stars 66 forks source link

What other /slash commands should we add? #4

Open jessepollak opened 8 years ago

jessepollak commented 8 years ago

Some ideas so far:

bsiddiqui commented 8 years ago
dget commented 8 years ago

Two I'd love, one that's simple and one that's not:

jessepollak commented 8 years ago

@dget OOOOOO I love both of these

cat-hello-marko-xT9DPzfQYtD8lRYWs0

heewa commented 8 years ago

How about /emoji cactus for :cactus:, with the same names that github/slack/basically-everyone uses? I know you can get to the emoji from menu Edit -> Emoji & Symbols, but as slack & github show, it's a much better experience to tab-complete a word than scroll through pages of icons.

russdogg commented 8 years ago

Maybe something like: /map -> a geo-location feature that snaps a screenshot map plus google map link. Like when you need to quickly send someone your location.

map-example

I have an IFTTT recipe that does this.

edit: looks like google maps has an API call for this, just requires long and lat and an API key https://developers.google.com/maps/documentation/static-maps/intro

btamayo commented 8 years ago

:+1: for /emoji

Or link to Google search results for a specific term. e.g. "Great, look who's winning the primary: 2016 Primary"

russdogg commented 8 years ago

For /emoji , might have to add a polyfill for default emoji support for Chrome on Windows... Unless it's been updated more recently.

jessepollak commented 8 years ago

Love the Google Maps idea and /emoji is the next one I'm working on!

jessepollak commented 8 years ago

Just released an update (v0.0.14) that adds /emoji — it's not perfect, but it works. If anyone is around this weekend and wants to learn how to add a command, I'd be happy to help!

dsanch3z commented 8 years ago

@jessepollak Maybe a way to add predefined templates for emails?

Loved the extension BTW johnny-bravo-ohi979zEnEu4w

ishu3101 commented 8 years ago

@russdogg Can you share your IFTTT Recipe for Google Maps?

ishu3101 commented 8 years ago
chrishannah commented 8 years ago

I've started working on the Wikipedia command! I've forked it here - https://github.com/cryptixdevelopment/command

The API is strange and returns three different arrays, each for the titles, excerpts, and urls. But I've got that converting to a more suitable array of clear objects.

It's "working" at the minute, just the results aren't formatted very well yet.

chrishannah commented 8 years ago

I think another good command would be to be able to quickly search on the App Store

DanielHabib commented 8 years ago

quickly pull up the current stock information, /stock <Search Stock>

chrishannah commented 8 years ago

I got bored and also added in an App Store command - https://github.com/cryptixdevelopment/command

It works fine, except the pagination isn't perfect.

jessepollak commented 8 years ago

@cryptixdevelopment so awesome! Do you want to submit a PR? Would love to take a look and merge them in :D

chrishannah commented 8 years ago

@jessepollak Yeah sure, the Wiki command still needs work but at least the functionality is there.

bgiesing commented 8 years ago

@jessepollak I think these could be added:

scrussell24 commented 8 years ago

Awesome extension! Just thought about something similar yesterday and found this.

Have you thought about allowing custom commands? I'm thinking this could be very useful as a productivity tool in a work environment but the commands would need to be very customized and connect to internal services.

Also, the ability to "pipe" commands together would be boss. Something like "/youtube searchparam | bitly".

ishu3101 commented 8 years ago

Custom Commands are already supported. See the CONTRIBUTING.md file here: https://github.com/jessepollak/command/blob/master/CONTRIBUTING.md to learn how to create one.

You can also see the source code of existing command such as /emoji under src/content/commands folder

bgiesing commented 8 years ago

@ishu3101 I think @scrussell24 means a easy way for users to make them with a Settings UI (so you could add macro slashes (/omw=on my way) like Slash Keyboard does on mobile). That's for devs to implement API style commands (like the YouTube API for video search for instance)

abishekrsrikaanth commented 8 years ago

/stackoverflow - Reference a Stackoverflow Page

/github-repo - Reference to a Github Repo