A prompting programming language for describing and documenting file structures in a clear and concise manner.
Advanced CLI with component generation, design system tools, and project management.
Learn about ForSure's AI capabilities that adapt to your coding style.
ForSure is a prompting programming language designed to simplify projects by using a flat-file-like structured language/compiler/cli/converter system. It allows you to describe and document file structures in a clear and concise manner, similar to how you would write a Dockerfile for a container.
ForSure uses a simple, human-readable prompting syntax to represent directories, files, and their relationships, making it easy to understand and maintain project structures. Available as both a CLI tool and web application.
ForSure was created to solve the problem of documenting and sharing project structures in a standardized way. As a prompting programming language, it helps teams maintain consistency across projects and makes onboarding new developers easier.
Try ForSure's prompting language right in your browser. Edit the code below and see the generated file structure.
Edit the ForSure code and see the generated file structure
A powerful prompting programming language that mimics the natural file system's hierarchy for intuitive organization.
Offers inline commenting and metadata association for better documentation.
Advanced command-line interface with component generation, design system tools, project management, and automated workflows.
Intuitive web interface for creating, managing, and sharing project structures without installing anything.
Facilitates file inclusion for reusable structures across projects.
Leverages artificial intelligence to optimize and enhance your project structures.
Here's a basic example of what a .forsure file looks like:
root:
# Main source code directory
- src:
- main.js { entry: true }
- utils:
# Utility scripts
- helpers.js
- date.js { timezone: "UTC" }
# Assets for front-end design
- assets:
- logo.svg
- css:
# Style sheets
- theme.css
# Documentation file
- README.mdThe example above shows how ForSure's prompting language represents a simple project structure with directories, files, comments, and attributes.
To start using ForSure, follow these steps:
Clone the repository or install via npm to get started with ForSure.
# Install the CLI
npm install -g @forsure/cli
# Or clone the repository
git clone https://github.com/elicharlese/ForSure.git
cd ForSure
# Setup development environment
forsure setup
# Initialize a new project
forsure init my-project.forsureCreate a new .forsure file using our prompting language in any text editor.
root:
- src:
- index.js
- README.mdUse the ForSure CLI or web app to generate the file structure from your .forsure file.
# Generate the file structure
forsure generate my-first-project.forsure --output ./my-project
# Or use the enhanced CLI with more options
forsure generate my-first-project.forsure --output ./my-project --typescript --test
# Validate your ForSure file
forsure validate my-first-project.forsureExplore the ForSure prompting syntax to create more complex file structures.
Explore the documentation to learn more about ForSure: