Code Monkey home page Code Monkey logo

goseek's Introduction

๐Ÿช Goseek: A simple edge function workflow

One way to run a fully automated workflow on the edge for free is to use a combination of github actions and cloudflare workers.

You can specify an action in whatever language you desire and then create a CI pipeline that triggers based on a new created/modified issue. This will be the starting point and this pipeline will trigger the execution of an edge function on cloudflare.

The beauty of cloudflare workers is that it can run web assembly as well as JavaScript. This means that you can conserve your initial programming language without learning JavaScript and its vast complexities.

Let's say that we want a golang script that can extract elements from a webpage using custom selectors.

First of, you will write a simple go program that sends a request triggering the cloudflare worker. Then, the golang code will need to execute a custom business logic in order to fetch, parse, and extract from the page we want. As a last touch, we can write the results as comments in the issue and close it when the function exits.

goseek's People

Contributors

ignema avatar

Stargazers

 avatar

Watchers

 avatar

goseek's Issues

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.