title:
MoiPosterImproved
description:
Tool to manage moi.md files for Val Town content
imageUrl:
https://chatgpt.com/backend-api/public_content/enc/eyJpZCI6Im1fNjgwZmZhYzU5MDQwODE5MThiNTEyMWVkMGRhZGEzYWQ6ZmlsZV8wMDAwMDAwMDIwMzg2MjMwYThiZWNmM2ViZjQ4NzgwYSIsInRzIjoiNDg0OTY2IiwicCI6InB5aSIsInNpZyI6IjcwYTg4NTEwZTNhYTYxMzRmMWQzNmM0MWVmMmZiNzE2ZWZkZGNkNzI0OTk3MWY4ZjNiN2NmNzExMDU5ZGNkYmEiLCJ2IjoiMCIsImdpem1vX2lkIjpudWxsfQ==
url:
https://moiposter.val.run/
author:
dcm312
tags:
val-town
moi
markdown
vals
excludeFromPosts:
true

MoiPosterImproved

An improved tool for creating and managing moi.md files across Val Town vals. This project provides both a web interface and a script that can be imported and used programmatically.

Installation

This is a Val Town project. You can use it by importing the standalone script directly:

// Import the processor for batch operations import moiPoster from "https://esm.town/v/dcm31/moiPosterScript"; // Process all public vals const results = await moiPoster({ filter: 'public' });

Structure

This project includes the following components:

  • Backend API with Hono for handling requests
  • React-based frontend with moi.md editor and preview
  • Shared utilities for generating appropriate moi.md content
  • Batch processing functionality to update many vals at once

Features

  • Create and edit moi.md files with a user-friendly interface
  • Preview markdown with live updates
  • Filter vals by privacy settings
  • Batch process multiple vals at once
  • Automatic generation of appropriate frontmatter and content

Usage Examples

// Import the processor for batch operations import moiPoster from "https://esm.town/v/dcm31/moiPosterScript"; // Process only public vals const results = await moiPoster({ filter: 'public', overwrite: true // Overwrite existing moi.md files }); console.log(`Created ${results.created} moi.md files`); console.log(`Updated ${results.updated} moi.md files`);

License

MIT


Last updated: 2025-04-30