Skip to content

Commit

Permalink
feat: Add speedtest package
Browse files Browse the repository at this point in the history
  • Loading branch information
fkeloks committed Mar 9, 2019
1 parent aff32be commit 09ad434
Show file tree
Hide file tree
Showing 15 changed files with 2,020 additions and 0 deletions.
36 changes: 36 additions & 0 deletions packages/speedtest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# SpeedTest Package

The SpeedTest package will give you information about your network speed
* Ping
* Download speed
* Speed Upload)

Based on the package https://github.com/sivel/speedtest-cli

## Modules

### Speedtest

#### Usage

**en-US**:
```
(en-US) "What is my current Internet speed?"
(en-US) "Can you make me a speedtest?"
(en-US) "Made a speedtest"
(en-US) "Start a speed test"
(en-US) "Is my internet network good?"
(en-US) "Is my internet connection good?"
...
```

**fr-FR**:
```
(fr-FR) "Quelle est ma vitesse Internet actuelle?"
(fr-FR) "Peux-tu me faire un speedtest ?"
(fr-FR) "Fait un speedtest"
(fr-FR) "Lance moi un test de vitesse"
(fr-FR) "Mon réseau internet est-il bon ?"
(fr-FR) "Ma connexion internet est-elle bonne ?"
...
```
Empty file added packages/speedtest/__init__.py
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions packages/speedtest/config/config.sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"speedtest": {
"options": {}
}
}
Empty file.
Empty file.
13 changes: 13 additions & 0 deletions packages/speedtest/data/answers/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"speedtest": {
"start": [
"Well, I start the analysis. The results of the test will be given to you in a few moments..."
],
"end": [
"Analysis completed. Here are your results:"
],
"error": [
"Ooh, an error occurred during my research... Sorry, but I can not analyze your network."
]
}
}
14 changes: 14 additions & 0 deletions packages/speedtest/data/answers/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"speedtest": {
"start": [
"Bien, je démarre l'analyse.\nLes résultats du test vous seront donnés dans quelques instants...",
"Je démarre l'analyse de votre vitesse réseau.\nLes résultats du test vous seront donnés dans quelques instants..."
],
"end": [
"Analyse terminée. Voici vos résultats :"
],
"error": [
"Mince, une erreur est survenue durant mes recherches... Désolé, mais je ne parviens pas à analyser votre réseau."
]
}
}
Empty file.
Empty file.
10 changes: 10 additions & 0 deletions packages/speedtest/data/expressions/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"speedtest": [
"What is my current Internet speed?",
"Can you make me a speedtest?",
"Made a speedtest",
"Start a speed test",
"Is my internet network good?",
"Is my internet connection good?"
]
}
10 changes: 10 additions & 0 deletions packages/speedtest/data/expressions/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"speedtest": [
"Quelle est ma vitesse Internet actuelle?",
"Peux-tu me faire un speedtest ?",
"Fait un speedtest",
"Lance moi un test de vitesse",
"Mon réseau internet est-il bon ?",
"Ma connexion internet est-elle bonne ?"
]
}
Loading

0 comments on commit 09ad434

Please sign in to comment.