Phantomake

screenshot of Phantomake

A file-focused static site generator.

Overview

Phantomake is an innovative static site generator designed to streamline the process of building and managing static websites. It allows developers to produce highly customizable outputs while maintaining the integrity of the original site. With efficient code reuse capabilities and a focus on ease of use, Phantomake stands out as a valuable tool for web developers looking to modernize their workflow.

This generator leverages TypeScript and runs on Bun, making it a robust choice for users who seek performance and flexibility. Whether you're looking to add dynamic elements such as pagination to your blog or simply want to clean up repetitive coding tasks, Phantomake offers a straightforward solution to your static site needs.

Features

  • Standalone Executable: Phantomake is distributed as a single, standalone executable, simplifying installation across various operating systems.
  • Exact Site Output: When executed on an existing static site, it will output the same site without any modifications, ensuring users get consistent results.
  • Template Reusability: The ability to reuse common code such as headers and footers through templates and includes dramatically reduces redundancy in coding.
  • Markdown and EJS Support: Supports both Markdown and EJS template files, providing flexibility for content creation and customization.
  • Automatic Pagination: Includes features for pagination, allowing easy management of blog listings and similar content structures.
  • Selective Output: Allows for selective transformation of files based on specific criteria, giving users control over which files are processed and which remain unchanged.
  • Cross-Platform Compatibility: Available for MacOS, Linux, and Windows, making it accessible to a wide range of developers.
  • ISC License: Phantomake is distributed under the ISC license, ensuring a permissive and open framework for users.
typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.