Tag Automation

Simple Proxy for puppeteer extension rewritten

I have an extension that controls the proxy of a browser. Before the rewrite, it was pretty slim, written in plain Valina JS, and I didn't touch it for three years. 


But manifest V3 will be mandatory as of June this year, so I rewrote it. It took me a few hours, and I converted it into a Svelte TS extension. 

Added a few new features, like the possibility to auto-disconnect if the proxy is failing, start the proxy with the browser, being able to verify a proxy is valid, and dark theme...

View full article

Semi-open Github Repos

If you ever had a repo and didn't want to set it completely open, then you didn't have many choices. For example, Gitlab at least lets you have a public repo with private code, but this isn't a thing for Github.

So I thought of a simple system where you have a bot that watches specific repos, and if a user stars one of those repos, then the bot will automatically invite that user to the private repo associated with the starred repo by a map.

You can take a look if you want on GitHub. The code for ...

View full article

Scrap / GET Contribution Table from GitHub

So when it comes to some products like Twitter & GitHub, there are ways to either access non-public APIs or minimum, to scrap info that we can't take easily with the official API.
For Twitter, I think it is more important because you can access a lot of data for free, but I'm not going into that in detail because methods still work for years. And I think people who found ways to scrape data from Twitter data with not much cost should continue. 

About GitHub, you probably know this, for i...

View full article

Puppeteer tricks to write a bot/scrapper

I wrote a bot recently that does some actions after it authenticates with an account using puppeteer and it was incredibly easy.
In case you don't know what puppeteer does, well, it is simply a Node library to control Chromium or Chrome programmatically, now such a library can have many uses but I'll focus on what you need to know when writing a scrapper/bot.

The first thing to know is what kind of website you are dealing with, it is a traditional website or is more like a SPA type of website? A...

View full article