We have the same code working using node
, deno
, and bun
.
E.g.,
bun run index.js
// ==UserScript== | |
// @name Youtube Membership Embed Temp Fix | |
// @version 2024-12-29 | |
// @description Temp fix for membership embeds | |
// @author Nep | |
// @match https://www.youtube.com/embed/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant unsafeWindow | |
// @run-at document-start | |
// ==/UserScript== |
# author: Bluefissure | |
# License: MIT License | |
# Description: Fixes Palworld brokwn save files corrupted by someone existing the guild | |
# Based on the work of https://github.com/cheahjs/palworld-save-tools/releases/tag/v0.13.0 | |
import argparse | |
import codecs | |
import os | |
import json | |
from lib.gvas import GvasFile |
[EDIT: I've added a part 2 to this blog post, to address some of the feedback that has come up: https://gist.github.com/getify/706e5e10822a298375da40f9cc1fa295]
Recently, this article on "The JavaScript Block Statement" came out, and it received some good discussion in a reddit thread. But the general reaction seems to be against this approach. That saddens me.
// ==UserScript== | |
// @name HoloTools Fixes and Enhancements | |
// @namespace https://gist.github.com/lbmaian/fef815da2628dc6e546ba1f7cd8212a5 | |
// @downloadURL https://gist.github.com/lbmaian/fef815da2628dc6e546ba1f7cd8212a5/raw/holotools-fixes.user.js | |
// @updateURL https://gist.github.com/lbmaian/fef815da2628dc6e546ba1f7cd8212a5/raw/holotools-fixes.user.js | |
// @version 0.6 | |
// @description HoloTools Fixes and Enhancements | |
// @author lbmaian | |
// @match https://hololive.jetri.co/ | |
// @match https://holodex.net/login |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.This document describes an SOP for archiving a YouTube livestream, either public or private.
The demonstrations below are operated under Arch Linux, but it should work on other systems as well, including Windows MSYS2.
This SOP was originally written for archiving Gawr Gura’s unarchived streams.
The discord.js interactions PR has been merged, and d.js master (v13 dev) now has proper support for slash commands!
Official resources: