itch_vfs", id });
        });

        elements.showPosts.addEventListener('click', () => {
            worker.postMessage({ cmd: "show_posts" });
        });

        elements.createPost.addEventListener('click', () => {
            const title = elements.createTitle.value.trim();
            const body = elements.createBody.value.trim();
            if (title && body) {
                worker.postMessage({ cmd: "create_post", title, body });
            } else {
                elements.createResult.inner