Better HN
topnewbestaskshowjobs
Log inSign up

shayan01

23 karma · joined Aug 26, 2019 (7y ago) · 7 submissions

Submissions

comment 1mo ago · link · parent

Too lazy to do it myself tbh

comment 1mo ago · link · parent

I wish I could still use my Pixel 4a but the battery is pretty much dead and it's too much money to replace it

3.

1Password Secret Key: What is it, and how does it protect you?(blog.1password.com ↗)

4 points · by shayan01 · 3y ago · discuss

comment 4y ago · link · parent

I wanted to quickly hack together something and was too lazy to reverse engineer their private API. So I settled for their web app and Playwright (cross browser Puppeteer alternative). The auth stuff for their web app is stored in IndexedDB, so for it to work with Playwright you have to replicate the DB inserts.

It's pretty straight forward because Playwright is easy to use and has good documentation. You just need to have some basic CSS skills to find the correct selectors, but it's really not complex (Instagram and other big sites make it a bit harder).

I could run the script in a cronjob, but I decided to just start it manually whenever I want. So I have it connected to a Telegram bot of mine where I can just tell the bot to like the next n people.

I might write a small blog post about it at some point.

5.

Telegram Web Apps for Bots(core.telegram.org ↗)

20 points · by shayan01 · 4y ago · 5 comments

comment 4y ago · link · parent

Like many people of this community I have written multiple scripts and programs for my own use. Recently I was bored with Tinder, so I wrote a small CLI to automate the likes on Tinder. It's totally stupid and just likes everyone, but I found that it's easier to filter out uninteresting candidates afterwards instead of having to swipe manually in the app.

Another recent thing (this one is open source, search for "5hay/notionbackup"): I wanted regular backups of my Notion workspace, so wrote a little program in Go that does that. I'm doing weekly backups and pushing it to my Google Suite with rclone (encrypted).