Inspiration
Inspired by how hard it is to keep awake in the early hours during a hackathon. A VSCode extension which will alternately encourage, threaten and assist you as you work through the night.
What it does
Tracks time spent not typing on VSCode. At regular intervals, will progress through five stages provided no keyboard input has been recieved:
- Sending a message to the IDE
- Texting the user's phone
- Ringing the user's phone
- Tweeting the user's browser history
- Making the user a coffee
How I built it
The project is built primarily in node.js. The VSCode extension is built using VSCode's own tools, the phone interfacing is provided by Twilio, Twitter's own API is used in combination with a lightweight Chrome extension, and the majority of the code runs on a Google Cloud server attached to domain.com domain lookalivesunshine.tech. Coffee machine controlled by a Raspberry Pi with software written in python.
Challenges I ran into
Difficulty getting Twilio to make phone call using a pre-recorded audio file.
Pushing Twitter code server-side proved quite complicated.
Accomplishments that I'm proud of
The fact that, on a software side, all the stages have at least a basic implementation.
What I learned
Only one of us had node.js experience, and even that was minimal, so the vast majority of the node.js code. How to use the Twilio and Twitter APIs.
What's next for Look Alive, Sunshine
Improving coffee machine functionality and build quality
Improving depth of responses - i.e. better formatted tweets, possibly commenting on found history, a variety of text and phone messages etc.
Built With
- domain.com
- google-cloud
- javascript
- python
- twilio
- vscode
Log in or sign up for Devpost to join the conversation.