Back

Oct 2, 2024

i tried ai dungeon to try to fulfil my ai dungeons and dragons dreams and its even worse than janitor ai what is this shit, like it looks better but bruh i only get 100 turns go fuck yourself.

2

i just had to take the train and holy shit i hate the train so much, legit i got so unlucky with my seating or something because there was a loud ass group of girls playing pop music right behind me, a old guy trying to tell me about how motorbiking on the side walk is super dangerous and shit and telling me to never do that and a little boy kept throwing a soccer ball at me for some reason. i just wanted to relax jesus christ.

3

ran this and apparently there are 43930 words on my site right now its so over chat ive written half a novel

const puppeteer = require('puppeteer');

async function countWords(url) {
const browser = await puppeteer.launch();
const page = await browser.newPage();

await page.goto(url);

const wordCount = await page.evaluate(() => {
    const text = document.body.innerText || '';
    return text.split(/\s+/).filter(word => word.length > 0).length;
});

await browser.close();
return wordCount;
}

async function totalWordCount(urls) {
let totalWords = 0;

for (let url of urls) {
    const words = await countWords(url);
    console.log(`word count for ${url}: ${words}`);
    totalWords += words;
}

console.log(`total word count: ${totalWords}`);
}

const urls = [
    'https://moosyu.nekoweb.org/pages/blog/11ty_cool/',
    'https://moosyu.nekoweb.org/pages/blog/bad_ideas/',
    'https://moosyu.nekoweb.org/pages/blog/breakcore/',
    'https://moosyu.nekoweb.org/pages/blog/dni/',
    'https://moosyu.nekoweb.org/pages/blog/grammar/',
    'https://moosyu.nekoweb.org/pages/blog/indie_web_gripes/',
    'https://moosyu.nekoweb.org/pages/blog/junji_ito/',
    'https://moosyu.nekoweb.org/pages/blog/linux/',
    'https://moosyu.nekoweb.org/pages/blog/manga_hate/',
    'https://moosyu.nekoweb.org/pages/blog/peak_web_design/',
    'https://moosyu.nekoweb.org/pages/blog/post_rock/',
    'https://moosyu.nekoweb.org/pages/blog/sites_destined/',
    'https://moosyu.nekoweb.org/',
    'https://moosyu.nekoweb.org/pages/blog/',
    'https://moosyu.nekoweb.org/pages/guides/',
    'https://moosyu.nekoweb.org/pages/links/',
    'https://moosyu.nekoweb.org/pages/reviews/',
    'https://moosyu.nekoweb.org/pages/reviews/comics/',
    'https://moosyu.nekoweb.org/pages/reviews/comics/1/',
    'https://moosyu.nekoweb.org/pages/reviews/comics/2/',
    'https://moosyu.nekoweb.org/pages/reviews/comics/3/',
    'https://moosyu.nekoweb.org/pages/reviews/comics/4/',
    'https://moosyu.nekoweb.org/pages/reviews/favourites/',
    'https://moosyu.nekoweb.org/pages/reviews/games/',
    'https://moosyu.nekoweb.org/pages/reviews/games/1/',
    'https://moosyu.nekoweb.org/pages/reviews/music/',
    'https://moosyu.nekoweb.org/pages/reviews/music/1/',
    'https://moosyu.nekoweb.org/pages/reviews/music/2/',
    'https://moosyu.nekoweb.org/pages/reviews/tv/',
    'https://moosyu.nekoweb.org/pages/reviews/tv/1/',
    'https://moosyu.nekoweb.org/pages/guides/awesomewm_scaling/',
    'https://moosyu.nekoweb.org/pages/guides/awesomewm_stardew/',
    'https://moosyu.nekoweb.org/pages/guides/bash_webp_jpg/',
    'https://moosyu.nekoweb.org/pages/guides/brave_ads_newtab/',
    'https://moosyu.nekoweb.org/pages/guides/elements_css_nekoweb/',
    'https://moosyu.nekoweb.org/pages/guides/imgur_live_server/',
    'https://moosyu.nekoweb.org/pages/guides/markdown-it-katex/',
    'https://moosyu.nekoweb.org/pages/guides/runelite/',
    'https://moosyu.nekoweb.org/pages/guides/xfce_trans/',
    'https://moosyu.nekoweb.org/404.html',
    'https://moosyu.nekoweb.org/pages/mods/',
    'https://moosyu.nekoweb.org/pages/inspirations/',
    'https://moosyu.nekoweb.org/pages/ramblings/',
    'https://moosyu.nekoweb.org/pages/ramblings/2024/'
];

totalWordCount(urls);