Coder Social home page Coder Social logo

Comments (5)

yumeforever avatar yumeforever commented on August 17, 2024

Haha Agreed!!

from openwhisk-website.

jlengstorf avatar jlengstorf commented on August 17, 2024

So, an idea for dog-fooding this with OpenWhisk:

  • If we can figure out an easy-to-manipulate-with-code format, we can effectively create an action sequence in OpenWhisk that would do something like this:
  1. Event is fired by whatever API we're watching for new events.
  2. Action to process that event is called, giving us a new event in a common format.
  3. Action to edit the events page is called.
  4. Action to submit a PR to the main repo is called. (Or, if we want to live dangerously, it can commit straight to master.)

This would likely be easier if the events were individual posts rather than a single page, but that's also a somewhat significant structural change.

The assumption here, though, is that all of these events will be loaded into a service that has an API that will send events that we can consume with OpenWhisk. Which is a big assumption. So... someone who knows how events are currently being done — @nauerz-ibm? @krook? — maybe chime in about how this has been done previously.

Or, since this is moving to an open source model, maybe we can just set up something new. It doesn't look like Lanyrd.com has an API, but maybe some other service exists that aggregates event data, and we could watch that for #openwhisk or something?

from openwhisk-website.

krook avatar krook commented on August 17, 2024

I like this, but agree, it has to be in some sort of predictable format like an API. Let's start small with the Meetup API and search for keywords.

I played around with something similar before, but never deployed it. It basically was invoked via cron and saved results to a file, which were then included as a WordPress snippet.

It looked something like this. We can use request in a NodeJS action.

#!/bin/bash

# Requires a Meetup.com API key: xxxxxx
# Docs: http://www.meetup.com/meetup_api/docs/2/open_events/

wget https://api.meetup.com/2/open_events?key=xxxxxx&sign=true&photo-host=public&topic=openwhisk,serverless&page=40

from openwhisk-website.

krook avatar krook commented on August 17, 2024

Related to #175. FYI @csantanapr @mrutkows since we spoke about this approach.

from openwhisk-website.

csantanapr avatar csantanapr commented on August 17, 2024

ah it looks like @jlengstorf was thinking on META from #46 (comment)

from openwhisk-website.

Related Issues (20)

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.