eph baum dot dev

← Back to blog

Thingdom JavaScript Wrapper

Published on 01/21/2015 04:00 PM by Eph Baum

Of late I have been working working on several different projects in my day to day.

Our team has been pushing out the release of a new tool called Thingdom and I’d like to talk a bit about it and the JavaScript wrapper I worked on.

What is Thingdom?

To (lazily) quote the about page for Thingdom:

We help developers add a mobile experience to their existing project in a fraction of the time it used to take. Whether you’re a developer in a big company, or a small startup, we want to help you create a mobile experience in a matter of minutes no matter the language that you use.

That doesn’t completely nail it down, but the essential nuts and bolts are there: With only a few lines of code and an afternoon you can ‘mobile enable’ almost anything so that it can update its status and send alerts to users on their mobile devices.

It’s free for personal use and perfect for the hacker and maker folks because Thingdom can be used almost anywhere from Arduino & Raspberry Pi to Wordpress, or Ghost, or Beanstalk… you get the idea. If your product can talk to the Internet, it can probably talk to Thingdom and then it can be monitored by you or your users, as you see fit, from just about anywhere at any time.

Oh… But… WHAT IS IT?!?

The best way to understand exactly what Thingdom is and does is to see it in action. We’ve pushed hard to build an API that just works and create wrappers to help developers use Thingdom easily and without a lot of extra code.

We’re sticking to our stated goal of ‘Only Four Lines of Code’ to integrate Thingdom with your own project.

The libraries for Thingdom are available on GitHub at the ThingdomIO page, and there are some other examples and ideas for usage there and on the Thingdom site.

JavaScripts

I’ve had the opportunity to work on building out our Thingdom-JS Library and a simple example for use on CodePen.io.

It’s embeddable. Thingdom isn’t hosted yet on any CDNs, so in the Pen it’s called externally from another pen for demonstration purposes.

You can, however, include Thingdom-JS in your own project using bower install thingdom-js for Bower users and, of course, you can simply download it from the GitHub link above.

The Example:

To try out this example just walk through each step, one at a time, to see what’s actually happening.

Part of the magic comes from installing the free Thingdom Mobile app from iOS or Android. The example will prompt you.

See the Pen thingdom-js example (light) by F. Stephen Kirschbaum (@fskirschbaum) on CodePen.

Did that Wow you?

Most of the people that I’ve shown this example to immediately start telling me of ways that Thingdom could be used for their own needs.

Some ways Thingdom is already being used include:

Some things you can do with the JavaScript Library might include:

MOAR?!?

Here’s some more links to resources you might find helpful if you want learn more about Thingdom:

Written by Eph Baum

← Back to blog
  • 50 Stars - Puzzle Solver (of Little Renown)

    50 Stars - Puzzle Solver (of Little Renown)

    Join Eph Baum as they recount their journey through the Advent of Code 2023. For the first time, Eph completes all puzzles, leveraging resources like GPT-4 and Code Llama. Despite the challenges and time constraints, Eph not only stays on top of the puzzles but also lands on the top 1,000 leaderboard. Dive into this post to explore the role of generative AIs in problem-solving and the joy of coding puzzles. - GitHub Co-pilot

  • Don't Trust AI - An Advent of Code Tale

    Don't Trust AI - An Advent of Code Tale

    Join Eph Baum in 'Don't Trust AI - An Advent of Code Tale' as they navigate the Advent of Code 2023. Despite the December rush, Eph is determined to complete all puzzles. This post shares an intriguing incident where an AI-generated code line proves less than helpful. Eph's journey underscores the importance of verifying AI suggestions, especially when optimizing code. Dive in to explore the challenges and triumphs of coding puzzles, and the role of AI in this process. - GitHub CoPilot

  • Condoning Another Pi Day

    Condoning Another Pi Day

    Placeholder description for imported post from Ghost Blog

  • ANSI Terminal Colors

    ANSI Terminal Colors

    Placeholder description for imported post from Ghost Blog

  • WTF is Idiomatic

    WTF is Idiomatic

    Placeholder description for imported post from Ghost Blog

  • From Early Return in OOP to Control Flow in Elixir - A Transition Guide

    From Early Return in OOP to Control Flow in Elixir - A Transition Guide

    Placeholder description for imported post from Ghost Blog