Back
Version 192
6/19/2023
export const ocaps_ink = async (req, res) => {
try {
const valvers = 192;
const [ink_js_src, story_ink, visitors_info] = await Promise.all([
stevekrouse.fetchText(
// "https://raw.githubusercontent.com/y-lohse/inkjs/master/templates/browser_serverless/ink.js",
"https://unpkg.com/inkjs@2.2.1/dist/ink-full.js",
),
stevekrouse.fetchText(
"https://gist.githubusercontent.com/zarutian/ec15de4eb4780ae6e6c8f7ad1d2d49f6/raw/ocaps.ink",
{
cache: "no-store",
},
),
stevekrouse.fetchJSON(
"https://api.val.town/v1/express/zarutian.ocaps_ink_visitors",
),
]);
const mainForBrowser_src = (() => {
var _inkStory;
var errorHandlerForAll;
var load_save;
var localStorage;
var storyContainer;
var save;
var wipe_save;
var document;
var URL;
var window;
var isAnimationEnabled;
var showAfter;
var setTimeout;
var scrollToBottom;
var requestAnimationFrame;
var continueStory;
var inkjs;
zarutian-ocaps_ink.web.val.run
Updated: June 2, 2024