rod
agg
Our great sponsors
rod | agg | |
---|---|---|
20 | 4 | |
4,784 | 1,042 | |
4.0% | 6.0% | |
7.9 | 6.8 | |
9 days ago | 12 days ago | |
Go | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rod
-
Need help authenticating to Okta programatically.
I have tried the following. 1. Login to Okta via browser programatically using go-rod. Which I managed to do so successfully, but I'm failing to load up Slack as it's stuck in the browser loader screen for Slack. 2. I tried to authenticate via Okta RESTful API. So far, I have managed to authenticate using {{domain}}/api/v1/authn, and then subsequently using MFA via the verify endpoint {{domain}}/api/v1/authn/factors/{{factorID}}/verify which returns me a sessionToken. From here, I can successfully create a sessionCookie which have proven quite useless to me. Perhaps I am doing it wrongly.
- Library to convert HTML to pdf in Golang
- Web scraping with Go
- Best option for browser automation
-
Iām messed up with Go libraries
I usually find libraries by googling them or searching awesome go on GitHub, for selenium/puppeteer I've always found go-rod useful and easy in every way, Sometimes I also Google "X in Nodejs for Golang"
-
Go for web scraping
I recently tried out https://github.com/go-rod/rod. I think it's based on chromedp (so, Chrome dev tools and headless browser) but it also has code to download and run a supported version of Chrome that doesn't interfere with your local browser.
- Reducir tiempo de Web Scraping con concurrencia - GO
-
VHS: CLI Home Video Recorder
One of the dependencies is `rod`[0], which is a web scraping/automation library, and I believe requires a browser to work. I don't know what they're using it for though as I haven't looked at the code (and I'm not familiar with Go anyways).
0: https://github.com/go-rod/rod
-
Thoughts on Go headless browser tools for testing and scraping?
I don't have personal experience, but https://github.com/go-rod/rod is far more active than chromedp
- Project with a Web scraper GO binary
agg
-
AWS Cost CLI: CLI tool for AWS cost analysis with Slack integration
asciinema to record the terminal and then agg to convert that to gif.
-
VHS: CLI Home Video Recorder
I wrote a blog post[1] breaking down tools to record terminal sessions just a couple weeks ago. I wasn't aware of this particular one but it looks like it's going to have issues with recording anything that requires user input.
My post describes how to make high quality recordings of terminal sessions that can be replayed in the terminal, or shared on the web. I'm defining high quality as recordings with zero typos, and relatively controlled timing between commands.
I'm going to assume this works well because all the stuff from Charm seems to, BUT its limitations are ... problematic. I think the techniques i list in the post combined with agg[2] or gifcast[3] to covert it to a gif would be a better solution for non-trivial cases.
I'll add notes about agg and gifcast to the post this evening hopefully.
[1]: https://weblog.masukomi.org/2022/10/11/recording_and_sharing...
[2]: https://github.com/asciinema/agg
[3]: https://github.com/dstein64/gifcast
-
Creating animated gifs from your terminal
Now, we need to generate the animated gif file. The tool to this job is the might agg - asciinema gif generator.
What are some alternatives?
playwright-go - Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
vhs - Your CLI home video recorder š¼
chromedp - A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.
asciinema-player - Web player for terminal session recordings
colly - Elegant Scraper and Crawler Framework for Golang
tree-sitter-vhs - Syntax highlighting for VHS with tree-sitter š³
WebDumper - A tool for scraping, dumping and unpacking (webpacked) javascript source files.
asciinema - Terminal session recorder š¹
realize - Realize is the #1 Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.
aws-cost-cli - CLI tool to perform cost analysis on your AWS account with Slack integration
gotests - Automatically generate Go test boilerplate from your source code.
terminalizer - š¦ Record your terminal and generate animated gif images or share a web player