Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

elegant-cli

Package Overview
Dependencies
Maintainers
0
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elegant-cli

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

  • 4.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
88
decreased by-77.26%
Maintainers
0
Weekly downloads
Β 
Created
Source

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.

πŸ“° Data Management: Seamless integration with PostgreSQL and Prisma, with simplified database management that allows you to focus on building your application.

πŸ–ΌοΈ 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?

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

Demo

With Base Theme

Note: The demo below is for Elegant version 3. The demo will be updated with version 4 shortly.

Online Demo - Version 3: https://demo.myelegant.app/

Admin Demo - Version 3: 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 for the complete installation guide.

Configuration

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.

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

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.

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"

Features

Serverless Database Support

With this framework, you can easily integrate your Next.js app with a range of serverless databases, including AWS Aurora Serverless, Google Cloud SQL, Vercel Storage, Neon, and Supabase. By leveraging Prisma and Postgres, you can choose the best storage solution for your needs and enjoy cost-effective, scalable data storage that adapts to your application's demands.

image

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.

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.

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 to your web pages.

Full Documentation

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

Community

The Elegant community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the Elegant Discord.

Our Code of Conduct 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 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 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.

Good First Issues

We have a list of good first issues 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

License

The Elegant Framework is open-sourced software licensed under the MIT license.

Keywords

FAQs

Package last updated on 28 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc