Skip to content

Instantly share code, notes, and snippets.

View webdev03's full-sized avatar
🙂

Devarsh webdev03

🙂
  • New Zealand
  • 01:26 (UTC +12:00)
View GitHub Profile
@webdev03
webdev03 / 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();
@webdev03
webdev03 / 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