Bot that synchronizes with scrapbox-duplicator.

  • It is powered by a Google sub-account.

script.js

const res = await fetch("https://scrapbox.io/files/639924a09289f1001d9a14cf.json");
const projects = await res.json();
 
// Do not overwrite the existing watchList
const projectsLastAccessed = JSON.parse(localStorage.getItem("projectsLastAccessed"));
projects.forEach((project) => projectsLastAccessed[project.id] ??= project.lastAccessed ?? 0);
localStorage.setItem("projectsLastAccessed", JSON.stringify(projectsLastAccessed));

Is it a member of#member? (blu3mo)