Code Monkey home page Code Monkey logo

asana_status's Introduction

AsanaStatus

Display your Asana projects & their details using Panic's Statusboard app.

How it works

The simple utility app grabs all active projects from a specific Asana workspace. We use the project description as the overall status of the project for now. The app color codes the project based on keywords found in the description.

Current Keywords: queued, on hold, done, to print, waiting, proofed, comps sent

Usage

To start the app locally, you'll need Elixir on your system.

  1. Install dependencies with mix deps.get
  2. Start Phoenix endpoint with ASANA_API_KEY=[your-api-key] foreman start

Now you can visit http://localhost:4000/status/[your-workspace-id] from your browser to see the formatted project status results.

Deployment

Want to deploy this to Heroku?

  1. Create a Heroku application with a custom buildpack:

    heroku create --buildpack "https://github.com/HashNuke/heroku-buildpack-elixir.git"

  2. Set the required environment variables:

    heroku config:set MIX_ENV=prod heroku config:set ASANA_API_KEY=[your-api-key]

  3. Push the application to Heroku (git push heroku master)

  4. Try hitting the endpoint at http://your-heroku-endpoint.herokuapp.com/status/[your-workspace-id]

  5. If everything seems to be working, add a new Table Widget in StatusBoard with the above URL

If something doesn't seem to be working, tail the Heroku logs for clues. If you're still SOL, open an issue on this project and I'll try to help you.

Notes

This work was originally inspired by Nick Sheck's Asana StatusBoard (Sinatra) project. I rewrote it in Elixir and added a few features mostly as an excuse to play around with Phoenix. There's definitely some optimization to be done and I'm sure I've bungled a few idioms. Also needs some tests.

asana_status's People

Contributors

zapnap avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.