@silexlabs/silex
v3.0.0-alpha.180
Published
Free and easy website builder for everyone.
Downloads
799
Keywords
Readme
Brought to you by Alex Hoyau and Silex contributors.
Help make Silex sustainable by being part of the community, contributing documentation, making a financial contribution, report bugs.
Silex
Silex is a no-code tool for building websites. It also lets you code when needed. It can be used online, offline or in a JAMStack project.
Silex lets you create websites without coding, but it also has built-in editors for HTML, CSS, and JavaScript for when you need more control. It is used by freelancers and web studios to make real websites for real clients. Also Silex can generate templates or be integrated in a nodejs project, it has a plugin system and can integrate with headleass CMS and static site generators, it is part of the JSAMStack ecosystem since the v3.
Useful links
- Official website
- Road map (please help defining tasks and prioritising)
- Bug report in Github issues
- Forums in Github discussions
- Silex meta package with more source code
Here are the main features of Silex website builder:
- Free and Open Source, open to contributions
- Visual Editor: Silex offers a visual editor that allows users to create websites without needing to write code. It supports drag-and-drop functionality for easy website creation.
- Online CSS Editor: Alongside the visual editor, Silex also provides an online CSS editor for more advanced customization.
- Static HTML Websites: Silex is designed to create static HTML websites, which are fast, secure, and easy to host.
- SEO Features: Silex includes SEO features to help improve the visibility of websites on search engines.
- Editor UI: Silex offers features like fonts, visual CSS editor, publication...
- Self-hosting Option: Users can choose to host their Silex website builder on their own server.
- Community Support: Being an open-source project, Silex has a community of developers who contribute to its development and provide support.
- Silex v3 > Silex is based on GrapesJs
- Silex v2 > Sync with Dropbox and FTP: Users can sync their Silex projects with Dropbox and FTP, allowing for easy access and management of files.
- Silex v2 > Templates: Silex comes with a growing number of templates (both free and paid) that users can use as a starting point for their websites.
Getting Started
Online Version
The easiest way to start using Silex is by using the online version provided by Silex Labs foundation. Simply visit editor.silex.me and start building your website right away.
Desktop App (beta)
There is a desktop application that you can install on your computer which may be faster since it uses your local files and it works offline. You can download the desktop app from the Silex desktop repository.
Local or Server Installation
You can also run Silex locally or on your server using npx
, npm
, or Docker
.
Check the developer docs for configuration options and integration with your js projects.
Using npx
npx @silexlabs/silex
This command will run Silex with default config.
Using Docker
docker run -p 6805:6805 silexlabs/silex
This command will run Silex in a Docker container.
Using npm
First, install Silex as a dev dependency in your project:
npm install --save-dev @silexlabs/silex
Then, you can run Silex with the silex
command in your package.json
scripts:
{
"scripts": {
"start": "silex"
}
}
Configuration
You can configure Silex using environment variables and command-line options. All available options can be found in the developer docs as well as in the code: src/ts/server/cli.ts
.
Check the example config files - which are the same as plugins in Silex, in the examples/
folder. To test these configs, start Silex locally like this:
$ npx silex --client-config=./examples/client-config-transformers.js --server-config=`pwd`/examples/server-config-plugins.js
Or like this:
$ SILEX_CLIENT_CONFIG=./examples/client-config-transformers.js SILEX_SERVER_CONFIG=`pwd`/examples/server-config-plugins.js npm run start:debug
Contributing
Contributions are welcome! Please read our contributing guidelines for details on how to contribute to Silex.
License
Silex is free and open-source software licensed under the GPL-3.0.
Dependencies
The upstream projects we use in Silex are all listed in Silex meta package