From 0426e63c65f8300b09ab33bc6059f7627a9acdd7 Mon Sep 17 00:00:00 2001 From: Emmanuel DE SAINT STEBAN Date: Wed, 27 Apr 2022 12:39:05 +0200 Subject: [PATCH 1/4] :sparkles: Add new gitmoji command Search for gitmoji icon and copy & paste them directly to your git commit message. --- commands/gitmojis/README.md | 1 + commands/gitmojis/command.toml | 18 ++++++ commands/gitmojis/icon.svg | 96 +++++++++++++++++++++++++++++++ commands/gitmojis/screenshot.json | 0 4 files changed, 115 insertions(+) create mode 100644 commands/gitmojis/README.md create mode 100644 commands/gitmojis/command.toml create mode 100644 commands/gitmojis/icon.svg create mode 100644 commands/gitmojis/screenshot.json diff --git a/commands/gitmojis/README.md b/commands/gitmojis/README.md new file mode 100644 index 0000000..92c2b94 --- /dev/null +++ b/commands/gitmojis/README.md @@ -0,0 +1 @@ +https://slapdash.com/commands/gitmoji \ No newline at end of file diff --git a/commands/gitmojis/command.toml b/commands/gitmojis/command.toml new file mode 100644 index 0000000..b3ec671 --- /dev/null +++ b/commands/gitmojis/command.toml @@ -0,0 +1,18 @@ +name = "Gitmoji" +description = "Search for gitmoji icon and copy & paste them directly to your git commit message." +endpointURL = "https://slapdash-commands-manudss.vercel.app/gitmoji" +sourceCodeURL = "https://github.com/manudss/slapdash_commands/tree/main/src/gitmoji" +language = "typescript" +categories = ["Utilities", "Developer Tools", "Business", "Productivity"] + +author.name = "Emmanuel DE SAINT STEBAN" +author.profileURL = "https://github.com/manudss" + +readme = """ +The command lets you quickly search gitmojis icons defined here from [Gitmoji.dev](https://gitmoji.dev). + +Copy/Paste git emoji characters, for your commit messages. +😜 Gitmoji is an emoji guide for GitHub commit messages. Aims to be a standarization cheatsheet - guide for using emojis on GitHub's commit messages. + +Using emojis on commit messages provides an easy way of identifying the purpose or intention of a commit with only looking at the emojis used. As there are a lot of different emojis I found the need of creating a guide that can help to use emojis easier. +""" \ No newline at end of file diff --git a/commands/gitmojis/icon.svg b/commands/gitmojis/icon.svg new file mode 100644 index 0000000..7663736 --- /dev/null +++ b/commands/gitmojis/icon.svg @@ -0,0 +1,96 @@ + + diff --git a/commands/gitmojis/screenshot.json b/commands/gitmojis/screenshot.json new file mode 100644 index 0000000..e69de29 From 37ecced2784e3b72d67b3a9a5381497ad3e851f2 Mon Sep 17 00:00:00 2001 From: Emmanuel DE SAINT STEBAN Date: Wed, 27 Apr 2022 13:05:32 +0200 Subject: [PATCH 2/4] :sparkles: Add search with google command. --- commands/search-google/README.md | 1 + commands/search-google/command.toml | 21 +++++++++++++++++++++ commands/search-google/icon.svg | 1 + commands/search-google/screenshot.json | 0 4 files changed, 23 insertions(+) create mode 100644 commands/search-google/README.md create mode 100644 commands/search-google/command.toml create mode 100644 commands/search-google/icon.svg create mode 100644 commands/search-google/screenshot.json diff --git a/commands/search-google/README.md b/commands/search-google/README.md new file mode 100644 index 0000000..b195c6f --- /dev/null +++ b/commands/search-google/README.md @@ -0,0 +1 @@ +https://slapdash.com/commands/search-google \ No newline at end of file diff --git a/commands/search-google/command.toml b/commands/search-google/command.toml new file mode 100644 index 0000000..c23f8cc --- /dev/null +++ b/commands/search-google/command.toml @@ -0,0 +1,21 @@ +name = "Search Google" +description = "Search with google by using your custom Search CX and your Api Key" +endpointURL = "https://slapdash-commands-manudss.vercel.app/google" +sourceCodeURL = "https://github.com/manudss/slapdash_commands/tree/main/src/google" +language = "typescript" +categories = ["Utilities", "Productivity"] + +author.name = "Emmanuel DE SAINT STEBAN" +author.profileURL = "https://github.com/manudss" + +readme = """ +The command lets you quickly search by using google search API from [programmablesearchengine.google.com](https://programmablesearchengine.google.com/controlpanel/all). + +You need get an API keys here in Google : [Google Custom Search API](https://console.cloud.google.com/apis/api/customsearch.googleapis.com/quotas) + +And Create a Custom Search Engine : [Google Custom Search Engine](https://www.google.com/cse/create/new) +You can create a resticted custom Search (By giving some few website where to search) or search to the all internet (For this options, there is less quotas !) + +Then you need to set the CX and API Key from the Custom Search Engine, at the beginning of the command. (This will be store by Slapdash, and sent to every request). +Nothing is store in the api. +""" \ No newline at end of file diff --git a/commands/search-google/icon.svg b/commands/search-google/icon.svg new file mode 100644 index 0000000..62b5399 --- /dev/null +++ b/commands/search-google/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/commands/search-google/screenshot.json b/commands/search-google/screenshot.json new file mode 100644 index 0000000..e69de29 From fbbdfdc9d40ab15d8a75fd6926c10b6f0d1911a9 Mon Sep 17 00:00:00 2001 From: Emmanuel DE SAINT STEBAN Date: Wed, 27 Apr 2022 13:43:11 +0200 Subject: [PATCH 3/4] :sparkles: Add search to Angular Docs with google command. --- commands/search-angular-docs-google/README.md | 1 + .../search-angular-docs-google/command.toml | 19 +++++++++++++++++++ commands/search-angular-docs-google/icon.svg | 1 + .../screenshot.json | 0 4 files changed, 21 insertions(+) create mode 100644 commands/search-angular-docs-google/README.md create mode 100644 commands/search-angular-docs-google/command.toml create mode 100644 commands/search-angular-docs-google/icon.svg create mode 100644 commands/search-angular-docs-google/screenshot.json diff --git a/commands/search-angular-docs-google/README.md b/commands/search-angular-docs-google/README.md new file mode 100644 index 0000000..0b7ac90 --- /dev/null +++ b/commands/search-angular-docs-google/README.md @@ -0,0 +1 @@ +https://slapdash.com/commands/search-angular-docs-google \ No newline at end of file diff --git a/commands/search-angular-docs-google/command.toml b/commands/search-angular-docs-google/command.toml new file mode 100644 index 0000000..0fe9048 --- /dev/null +++ b/commands/search-angular-docs-google/command.toml @@ -0,0 +1,19 @@ +name = "Search Angular" +description = "Search in Angular Docs with google custom search and your Api Key" +endpointURL = "https://slapdash-commands-manudss.vercel.app/google/angular" +sourceCodeURL = "https://github.com/manudss/slapdash_commands/tree/main/src/google" +language = "typescript" +categories = ["Utilities", "Developer Tools", "Business", "Productivity"] + +author.name = "Emmanuel DE SAINT STEBAN" +author.profileURL = "https://github.com/manudss" + +readme = """ +The command lets you quickly search in some specicific angular docs website by using google search API from [programmablesearchengine.google.com](https://programmablesearchengine.google.com/controlpanel/all). + +You need get an API keys here in Google : [Google Custom Search API](https://console.cloud.google.com/apis/api/customsearch.googleapis.com/quotas) + + +Then you need to set API Key from the Custom Search Engine API, at the beginning of the command. (This will be store by Slapdash, and sent to every request). +Nothing is store in the api. +""" \ No newline at end of file diff --git a/commands/search-angular-docs-google/icon.svg b/commands/search-angular-docs-google/icon.svg new file mode 100644 index 0000000..65edc33 --- /dev/null +++ b/commands/search-angular-docs-google/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/commands/search-angular-docs-google/screenshot.json b/commands/search-angular-docs-google/screenshot.json new file mode 100644 index 0000000..e69de29 From 35e69ee844745e56044b2e97274333f4b5efbf06 Mon Sep 17 00:00:00 2001 From: Emmanuel DE SAINT STEBAN Date: Fri, 29 Apr 2022 17:37:19 +0200 Subject: [PATCH 4/4] :sparkles: Add translate command with deepl api. --- commands/translate-deepl/README.md | 1 + commands/translate-deepl/command.toml | 19 +++++++++++++++++++ commands/translate-deepl/icon.svg | 1 + commands/translate-deepl/screenshot.json | 0 4 files changed, 21 insertions(+) create mode 100644 commands/translate-deepl/README.md create mode 100644 commands/translate-deepl/command.toml create mode 100644 commands/translate-deepl/icon.svg create mode 100644 commands/translate-deepl/screenshot.json diff --git a/commands/translate-deepl/README.md b/commands/translate-deepl/README.md new file mode 100644 index 0000000..0b7ac90 --- /dev/null +++ b/commands/translate-deepl/README.md @@ -0,0 +1 @@ +https://slapdash.com/commands/search-angular-docs-google \ No newline at end of file diff --git a/commands/translate-deepl/command.toml b/commands/translate-deepl/command.toml new file mode 100644 index 0000000..f0afec8 --- /dev/null +++ b/commands/translate-deepl/command.toml @@ -0,0 +1,19 @@ +name = "Translate (Deepl)" +description = "Translate text using the DeepL API" +endpointURL = "https://slapdash-commands-manudss.vercel.app/google/translate" +sourceCodeURL = "https://github.com/manudss/slapdash_commands/tree/main/src/translate" +language = "typescript" +categories = ["Utilities", "Productivity", "Lifestyle", "Business"] + +author.name = "Emmanuel DE SAINT STEBAN" +author.profileURL = "https://github.com/manudss" + +readme = """ +This command translates text using the DeepL API. + +You need to provide your API authentication key for Deepl API as found in your [DeepL Pro Account)(https://www.deepl.com/pro-account/).. +(This will be store by Slapdash, and sent to every request, Nothing is store in the api.) + + You can access the DeepL API with either a [DeepL API Free or DeepL API Pro plan](https://www.deepl.com/pro#developer) . + With the DeepL API Free plan, you can translate up to 500,000 characters per month for free. +""" \ No newline at end of file diff --git a/commands/translate-deepl/icon.svg b/commands/translate-deepl/icon.svg new file mode 100644 index 0000000..1d3eb58 --- /dev/null +++ b/commands/translate-deepl/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/commands/translate-deepl/screenshot.json b/commands/translate-deepl/screenshot.json new file mode 100644 index 0000000..e69de29