Skip to content

Instantly share code, notes, and snippets.

View imdevarsh's full-sized avatar
🙂

Devarsh imdevarsh

🙂
View GitHub Profile
@imdevarsh
imdevarsh / script.js
Created October 7, 2023 01:54
Auto Siggy
import "dotenv/config"
import * as meowclient from "meowclient";
import { parse } from "node-html-parser"
import { DateTime } from "luxon";
const session = new meowclient.ScratchSession();
await session.init(process.env['SCRATCH_USERNAME'], process.env['SCRATCH_PASSWORD']);
const myProfile = new meowclient.Profile(session, session.username);
const profileAPI = await myProfile.getUserAPI();
const joinedAt = DateTime.fromISO(profileAPI.history.joined);
const currentDate = DateTime.now();
@imdevarsh
imdevarsh / README.md
Created October 2, 2023 22:44
Wall of Followers Project Thumbnail

Wall of Followers Project Thumbnail

To use this you will need to run

npm install meowclient canvas dotenv

Then create a .env file in this format

SCRATCH_USERNAME=user
SCRATCH_PASSWORD=pass