Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elegantframework/elegant-cli

✨ Build SEO-friendly websites, super fast full-stack web applications, and much more with Elegant. πŸ’œ Built with Next.js, TipTap, Tailwind CSS, and more.
https://github.com/elegantframework/elegant-cli

elegant jest markdown mdx next nextjs outstatic react reactjs storybook tailwindcss tiptap typescript

Last synced: 3 days ago
JSON representation

✨ Build SEO-friendly websites, super fast full-stack web applications, and much more with Elegant. πŸ’œ Built with Next.js, TipTap, Tailwind CSS, and more.

Awesome Lists containing this project

README

        






Elegant





npm version


Build Status


Tested with Jest


License


PRs Welcome


Discord Chat

**Build SEO-friendly websites, super fast full-stack web applications, and much more with Elegant.**

**πŸ‘©πŸ»β€πŸ’» Developer Ready**: An all-in-one web application and blogging solution. All the features you need are included right out of the box.

**πŸ’° Simple Hosting**: Deploy your application on the latest and most affordable serverless tech. No need for any complicated server setups or vendor-locked services.

**πŸ–ΌοΈ Content Creation**: Create amazing content with a next-level rich text editor. Perfect for writing blog posts, user guides, and documentation.

**βœ… Professional Themes**: Use our professionally crafted themes that are built with Tailwind CSS, or create your own.

**πŸ“‘ 3rd Party Services**: Connect up your favorite services and grow your audience. Analytics services, Newsletter Subscription providers, and more.

---

## Table of Contents

- [What is Elegant?](#what-is-elegant)
- [Screenshot](#screenshot)
- [Demo](#demo)
- [Install](#install)
- [Hosting and Deployments](#deploying)
- [Creating Content](#creating_content)
- [Growing Your Audience](#growing_your_audience)
- [Analytics](#analytics)
- [Newsletter Subscriptions](#newsletter_subscriptions)
- [Core Features](#core_features)
- [Sitemaps](#sitemaps)
- [Robots.txt](#robots_txt)
- [Rich Snippets](#rich_snippets)
- [Full Documentation](#documentation)
- [Community](#community)
- [Contributing](#contributing)
- [Feature Suggestions](#feature_suggestions)
- [Reporting Issues](#reporting_issues)
- [Good First Issues](#good_first_issues)
- [Stay Up-To-Date](#stay_up_to_date)
- [License](#license)

## What is Elegant?

Elegant is a community-driven project for building, deploying, and maintaining websites easily.

Built with Next.js, Tailwind CSS, TipTap, and more. Elegant is perfect for blogging, documentation websites, or just about any type of web application.

## Screenshot

![ezgif-2-2b841a89fd](https://github.com/elegantframework/elegant-cli/assets/10189130/74001fe1-b6ae-46ad-b736-164df13fea22)

## Demo

**With Base Theme**

Online Demo: [https://demo.myelegant.app/](https://demo.myelegant.app/)

Admin Demo: [https://demo.myelegant.app/admin](https://demo.myelegant.app/admin)

## Install

To get started using Elegant, simply install our CLI tool:

```
npm install elegant-cli
```

Next, run the initialization command to create your website:
```
npx elegant-init
```

Visit [https://www.elegantframework.com/docs/installation](https://www.elegantframework.com/docs/installation) for the complete installation guide.

## Hosting and Deployments

Deploying your Elegant application to production is a breeze with Vercel or any other serverless hosting provider.

Because Elegant is built with the lightweight Next.js framework, your application will run ultra-fast, and at the most affordable monthly hosting costs.

Read the full [Elegant Deployment Guide](https://www.elegantframework.com/docs/deployment).

## Creating Content

Elegant gives you complete control over your content creation experience with an included content editor for creating and editing documents.

![elegant_content_editor-U4MT](https://github.com/elegantframework/elegant-cli/assets/10189130/a7118506-2a1d-4e60-81e4-9e55edced2df)

The content editor is where you will write content, add images, and links, and even embed YouTube videos.

Read the complete guide on [Creating Content here](https://www.elegantframework.com/docs/creating-content#writing-content).

## Growing Your Audience

We have taken care of most of the boilerplate setup code needed to launch the perfect web application so that you can focus on what is important to you.

Growing your audience is simple with our included native integrations into the most commonly used 3rd party services.

### Analytics

Track your website traffic, and measure your traffic sources to understand which marketing and social channels are most effective.

Google Analytics is automatically configured with all new Elegant applications, so you can start tracking your web application user traffic immediately.

To start using Google Analytics with your Elegant application, simply provide a Google Analytics ID string to the NEXT_PUBLIC_GOOGLE_ANALYTICS_ID environment variable in your .env file.

```
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID="G-4G410MD92K"
```

### Newsletter Subscriptions

Elegant makes it easy to grow your email subscriber lists with included newsletter sign-up templates, and native subscription services.

ConvertKit is automatically configured with all new Elegant applications so you may start using it immediately.

If you are interested in using ConvertKit with your Elegant application, you may simply provide an action URL string to the NEXT_PUBLIC_CONVERTKIT_ACTION_URL environment variable in your .env file.

```
NEXT_PUBLIC_CONVERTKIT_ACTION_URL="https://app.convertkit.com/forms/21224410/subscriptions"
```

## Core Features

### Sitemaps

A sitemap is a special file that helps search engines like Google understand the structure of a website. It’s like a map that shows all the pages on a website and how they’re connected to each other.

Elegant is configured right out of the box to generate a sitemap.xml file for your web application automatically.

To learn more, view the complete [Sitemap Guide Here](https://www.elegantframework.com/docs/sitemaps).

### Robots.txt

A robots.txt file is a simple text file that tells search engine crawlers which parts of your web application they are allowed to access and index.

Elegant is configured right out of the box to generate a robots.txt for your web application automatically.

Below is a snippet of our robots.txt for our documentation website.

```
# *
User-agent: *
Allow: /

# Host
Host: https://www.elegantframework.com

# Sitemaps
Sitemap: https://www.elegantframework.com/sitemap.xml
```

To learn more, view the complete [Robots.txt Guide Here](https://www.elegantframework.com/docs/robots-txt).

### Rich Snippets

Rich snippets are a way to provide additional information about a webpage to search engines, like Google, so that they can better understand the content and context of the page. This information can then be displayed in search engine results, making it easier for users to understand what the page is about and whether it’s relevant to their search query.

We have built Elegant to automatically add the most essential [Rich Snippets](https://www.elegantframework.com/docs/rich-snippets) to your web pages.

## Full Documentation

You can find the complete version of the Elegant documentation at [https://elegantframework.com/docs](https://elegantframework.com/docs)

## Community

The Elegant community can be found on [GitHub Discussions](https://github.com/orgs/elegantframework/discussions), where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the [Elegant Discord](https://discord.gg/PwY38x4uvV).

Our [Code of Conduct](https://github.com/elegantframework/elegant-cli/blob/v2.3/CODE_OF_CONDUCT.md) applies to all Elegant community channels.

## Contributing

We've built Elegant because we feel that developers should be more empowered to create better websites and content. We hope that other startups and organizations can benefit from the project. We are thankful for any contributions from the community.

If you're interested in contributing to the Elegant project, please read our [contributing docs](https://github.com/elegantframework/docs/blob/main/CONTRIBUTING.md) **before submitting a pull request**.

### Feature Suggestions

Elegant is a community-driven project, and open to all suggestions and ideas that help to empower developers everywhere.

Visit our [Feature Request](https://github.com/elegantframework/elegant-cli/issues/new?assignees=&labels=&projects=&template=feature_request.md&title=) page to submit your feedback.

### Reporting Issues

Bugs and user friction are our top priority. If you experience any issues or friction during your experience with Elegant, please submit a [Bug Report](https://github.com/elegantframework/elegant-cli/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=).

### Good First Issues

We have a list of [good first issues](https://github.com/elegantframework/elegant-cli/labels/good%20first%20issue) that contain bugs and features that have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

## Stay Up-To-Date

The Elegant project is constantly evolving and improving daily. You can keep up and show your support by hitting the **Star** button! We appreciate it! 😊

![support-elegant-with-a-star-on-github](https://github.com/elegantframework/elegant-cli/assets/10189130/28132259-174b-43ac-a850-8437298885be)

## License

The Elegant Framework is open-sourced software licensed under the [MIT license](https://opensource.org/license/mit/).