๐ Generate legal documents (Terms of Service, Privacy Policy, and more) from a simple form.
- Generate 7 legal document templates: Terms of Service, Privacy Policy, Cookie Policy, Disclaimer, End-User License Agreement (EULA), Refund Policy, and Acceptable Use Policy.
- Fill out a form and see the generated document update live in a preview pane.
- Copy the generated document as Plain Text, Markdown, or HTML.
- Conditional sections (e.g. GDPR/CCPA disclosures, cookies, user accounts) are shown or hidden based on your answers, with headings renumbered automatically.
- Responsive, mobile-friendly layout with separate Form/Preview tabs on small screens.
Clone the repository:
git clone https://github.com/remarkablemark/legal-templates.git
cd legal-templatesInstall the dependencies:
npm installCopy the environment variables:
cp .env.example .envIn the project directory, you can run:
Runs the app in development mode.
Open http://127.0.0.1:5173 to view it in the browser.
The page will reload if you make edits.
You will also see any errors in the console.
Builds the app for production to the dist folder.
It correctly bundles in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Checks code quality.
Checks for type errors.
Runs tests.
Runs tests with coverage.