Thread overview | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 07, 2017 Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Hi guys, the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D. It is a skill that allows me to voice control my TV receiver with commands like: > Alexa, ask Telly to go to standby > Alexa, ask Telly what is currently running The project and all the source code sits on github: https://github.com/Extrawurst/alexa-openwebif I created two new dub libraries that this app uses: https://github.com/Extrawurst/openwebif-client-d https://github.com/Extrawurst/alexa-skill-kit-d *openwebif-client-d* is the REST api that my receiver speaks. *alexa-skill-kit-d* is the base class and the types that amazon throws at when the user activated your skill. you can find the blog post here: http://blog.extrawurst.org/programming/dlang/alexa/2017/01/06/alexa-in-d.html Feel free to share, to spread the word about using D for this fancy new tech. ~Stephan |
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to extrawurst | On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
> Hi guys,
> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>
> It is a skill that allows me to voice control my TV receiver with commands like:
>
>> Alexa, ask Telly to go to standby
>> Alexa, ask Telly what is currently running
>
> The project and all the source code sits on github:
> https://github.com/Extrawurst/alexa-openwebif
>
> I created two new dub libraries that this app uses:
> https://github.com/Extrawurst/openwebif-client-d
> https://github.com/Extrawurst/alexa-skill-kit-d
>
> *openwebif-client-d* is the REST api that my receiver speaks.
> *alexa-skill-kit-d* is the base class and the types that amazon throws at when the user activated your skill.
>
> you can find the blog post here:
> http://blog.extrawurst.org/programming/dlang/alexa/2017/01/06/alexa-in-d.html
>
> Feel free to share, to spread the word about using D for this fancy new tech.
>
> ~Stephan
Good work! I've been using my Echo for a little while now and it's great to know I can start using D with it! Great write-up on the project, thanks for sharing this.
-Doc
|
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to extrawurst | On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
> Hi guys,
> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>
> It is a skill that allows me to voice control my TV receiver with commands like:
>
>> Alexa, ask Telly to go to standby
>> Alexa, ask Telly what is currently running
>
> The project and all the source code sits on github:
> https://github.com/Extrawurst/alexa-openwebif
>
> I created two new dub libraries that this app uses:
> https://github.com/Extrawurst/openwebif-client-d
> https://github.com/Extrawurst/alexa-skill-kit-d
>
> *openwebif-client-d* is the REST api that my receiver speaks.
> *alexa-skill-kit-d* is the base class and the types that amazon throws at when the user activated your skill.
>
> you can find the blog post here:
> http://blog.extrawurst.org/programming/dlang/alexa/2017/01/06/alexa-in-d.html
>
> Feel free to share, to spread the word about using D for this fancy new tech.
>
> ~Stephan
Very interesting article, thanks for sharing. For your info, you can directly compile linux binaries from windows 10 by using the ubuntu sub system. No need to use vagrant.
Kind regards
André
|
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to docandrew | On Sunday, 8 January 2017 at 16:22:09 UTC, docandrew wrote:
> On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
>> Hi guys,
>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>>
>> It is a skill that allows me to voice control my TV receiver with commands like:
>>
>>> [...]
>>
>> The project and all the source code sits on github:
>> https://github.com/Extrawurst/alexa-openwebif
>>
>> I created two new dub libraries that this app uses:
>> https://github.com/Extrawurst/openwebif-client-d
>> https://github.com/Extrawurst/alexa-skill-kit-d
>>
>> *openwebif-client-d* is the REST api that my receiver speaks.
>> *alexa-skill-kit-d* is the base class and the types that amazon throws at when the user activated your skill.
>>
>> you can find the blog post here:
>> http://blog.extrawurst.org/programming/dlang/alexa/2017/01/06/alexa-in-d.html
>>
>> Feel free to share, to spread the word about using D for this fancy new tech.
>>
>> ~Stephan
>
> Good work! I've been using my Echo for a little while now and it's great to know I can start using D with it! Great write-up on the project, thanks for sharing this.
>
> -Doc
Nice, good to know there are just two problems with that:
1) I am on Mac, so no luck here
2) I needed to be as close to the Amazon Linux as possible and that unfortunately is rhel based :( did not test Ubuntu though
~stephan
|
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to extrawurst | On 1/7/2017 5:17 AM, extrawurst wrote:
> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
Post this to reddit!
|
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
> On 1/7/2017 5:17 AM, extrawurst wrote:
>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>
> Post this to reddit!
Isn't it better someone else does that?
~Stephan
|
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to extrawurst | On 1/8/2017 1:15 PM, extrawurst wrote:
> On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
>> On 1/7/2017 5:17 AM, extrawurst wrote:
>>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>>
>> Post this to reddit!
>
> Isn't it better someone else does that?
Yes. I can't because anything I post gets autobanned.
|
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote: > On 1/8/2017 1:15 PM, extrawurst wrote: >> On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote: >>> On 1/7/2017 5:17 AM, extrawurst wrote: >>>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D. >>> >>> Post this to reddit! >> >> Isn't it better someone else does that? > > Yes. I can't because anything I post gets autobanned. Someone shared it now: https://www.reddit.com/r/d_language/comments/5msngh/alexa_skill_written_in_d/ Thanks bachmeier! |
January 08, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to extrawurst | On 1/8/2017 2:58 PM, extrawurst wrote:
> On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
>> On 1/8/2017 1:15 PM, extrawurst wrote:
>>> On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
>>>> On 1/7/2017 5:17 AM, extrawurst wrote:
>>>>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>>>>
>>>> Post this to reddit!
>>>
>>> Isn't it better someone else does that?
>>
>> Yes. I can't because anything I post gets autobanned.
>
> Someone shared it now:
> https://www.reddit.com/r/d_language/comments/5msngh/alexa_skill_written_in_d/
>
> Thanks bachmeier!
Unfortunately, it would be better off in the programming subreddit.
|
January 09, 2017 Re: Alexa Skill written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Monday, 9 January 2017 at 01:28:22 UTC, Walter Bright wrote:
> On 1/8/2017 2:58 PM, extrawurst wrote:
>> On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
>>> On 1/8/2017 1:15 PM, extrawurst wrote:
>>>> On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
>>>>> On 1/7/2017 5:17 AM, extrawurst wrote:
>>>>>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>>>>>
>>>>> Post this to reddit!
>>>>
>>>> Isn't it better someone else does that?
>>>
>>> Yes. I can't because anything I post gets autobanned.
>>
>> Someone shared it now:
>> https://www.reddit.com/r/d_language/comments/5msngh/alexa_skill_written_in_d/
>>
>> Thanks bachmeier!
>
> Unfortunately, it would be better off in the programming subreddit.
Volunteers to post it there aswell ?
|
Copyright © 1999-2021 by the D Language Foundation