Skip to content

Unofficial Telegram client for Alexa

License

Notifications You must be signed in to change notification settings

vocalime-base/voice-gram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to voice-gram 👋

Version Documentation License: GNU General Public License v3.0

Unofficial Telegram client for Alexa

Usage

Telegram

  • Create a Telegram app here and copy api_id and api_hash to scripts/config.ini and terraform/secret.auto.tfvars
  • Get Telegram Token running scripts/getTelegramToken.py. Follow the instructions, then copy the token to terraform/secret.auto.tfvars.

Alexa

  • Create Alexa Skill on the developer console.
  • Get Alexa client ID and secret from the bottom of the skill's permission page, then copy the values to terraform/secret.auto.tfvars.
  • Get Alexa User ID, locale, endpoint and skill ID from the test page of your skill. Make a sample request and find those values and copy them to then copy the token to terraform/secret.auto.tfvars.

AWS

  • Import FFMPEG layer in your AWS account.
  • Build the layer containing the libraries using AWS SAM CLI. So, run sam build --use-container and wait it finishes building the layer. You also need Docker.
  • Finally, install Terraform CLI and configure your AWS CLI account. Then you can run terraform apply in order to deploy the infrastructure and copy the lambda function ARN.

Now, open skill/skill-package/skill.json and set manifest.events.endpoint.uri and manifest.apis.custom.endpoint.uri to the function ARN just copied. Push skill's manifest and model using ASK CLI and enable the notification from Alexa App (you can find your newly created skill in More -> Skill & Games -> Your skills -> Developer).

Supported Languages

  • Italian (IT-it)

To contribute, fork this repository and add skill/lambda/skill/locales/LOCALE.json (dialogues) and skill/skill-package/interactionModels/custom/LOCALE.json (model) where LOCALE is the language code (IT-it, EN-us, etc).

Author

👤 Vocalime

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 Vocalime.

This project is GNU General Public License v3.0 licensed.