Git Product home page Git Product logo

comicbot's Introduction

Hi, I'm Thomas! 👋

Software and DevOps Engineer, with a broad background in both Dev and Ops.

✨ Very much into Open Source Software! ✨

Employed as a mobile app developer, while I covertly infiltrate my company, secretly educating colleagues on the virtues of contributing to OSS... 🤫

🔭 I'm currently working on an Android mobile app for my employer, and very much invested in creating ✨ The Smoothest Development Workflow Known To Man (tm) ✨

🌱 In regard to above tasks, I'm currently busy studing the app as it exists today, as well as learning more Kotlin.

👯 I'd love to collaborate on a few pet open source projects, namely:

  • Iskaribot (a bot that sends messages from Workplace to Slack, but can be extended to do a lot more!)
  • Comicbot (a bot that gets comics from a website and sends them to Slack)
  • qvidahl.no (my personal home page)

🦋 I have a Flutter project on the side, developing a cardgame which ✨may some day✨ become a reality in an appstore near you!

Oh, and I want to start live streaming and talking about Git, so if you have ideas and/or want to take part somehow, please reach out! I have an open repo for ideas here...

📫 You can reach me here on Github, obviously, and (in time) through my home page and also here:

Thomas' GitHub stats

@tplive's Holopin board

comicbot's People

Contributors

boyum avatar tplive avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

boyum odin-masta

comicbot's Issues

Dilbert is being cancelled, Dunce is taking over

Scott Adams' controversy aside, you may agree or disagree with his views, but no matter what - Teknisk Ukeblad are jumping on the cancellation hype-train, and Dilbert is gone, starting March 13th 2023[1].
We will have to update Comicbot to support the new comic Dunce, and it will be a simple matter of fetching the URL in this format: https://www.tu.no/api/widgets/comics?name=dunce&date=2023-03-13

[1] I guess they had already queued up a few Dilbert cartoons, 'cause Comicbot found Dilbert today, even if it's not listed on the website.. 😆

Command-line options

  • Need to make saving the comics opt-in, with path.
  • Need an option to add date for downloading previous comics.
  • Need an option to add webhook URL as a command-line option that overrides the environment variable.
  • Change the default name of the webhook URL environment variable.
  • Need an option to configure the name of the webhook URL environment variable.
  • General command-line --help function

Rollback prod

Changes were prematurely merged to the main branch, and its failing.

Roll back changes to main for now.

Can we support Comic Agilè?

Comic Agilè is a Danish comic about all things DevOps. Can we make Comicbot work with it?

Initially, there is no "order" to the comics, apart from their numbering scheme (today's comic is #172) so keeping track of which one's have already been fetched and posted, could pose a challenge. But maybe we can keep state in a counter backend?
I found CountAPI which could work - provided we are able to configure it with a persistent domain name for namespace creation. We just need to know the number of the last comic we fetched... So, we would get the value first, compare it to whatever is on the front page of Comic Agilè, and if it's newer, fetch the comic, then update the count API with it's new number. Easy as pie!

Or could it be done EVEN simpler? Can we keep track of values in Github Actions?

Support XKCD

This comic would need the same structure as Comic Agilè, but XKCD has it's own API we can use! 😃

For the latest comic: https://xkcd.com/info.0.json
For any arbitrary comic: https://xkcd.com/614/info.0.json

A thought: To avoid double-posting, we need to keep track of the latest comic we have posted. Is it possible to use Github's API to set an environment variable? In that case, we need no outside dependency.

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.