Blogifier is a self-hosted open source publishing platform written in ASP.NET and Blazor WebAssembly. It can be used to quickly and easily set up a lightweight, but fully functional personal or group blog.
Can build in windows linux not tested on macOS, I prefer to deploy tests in docker.
- Download .NET 7.0 SDK Choose to install the system version on your host. Download Nodejs 14 and above and install it on your host. For linux you can use the package management tool
- Navigate to the project root directory, run ./publish.cmd on the command line in widnows, run sh ./publish.sh on the command line in linux.
- When the command execution is complete and there are no errors, you will see the dist folder in the project root directory, which is the application after publishing. You can copy it to run anywhere. In windows, you can directly click to run the dist folder Blogifier.exe , in linux, please authorize the executable permission of the Blogifier binary file first and then click or run it on the command line. [note] Because the app_data directory does not exist in the release, an error may occur when the program starts. Just start it again.
- Then you can open
localhost:5000
with your browser - Done, enjoy.
First of all, please make sure that docker, docker-compose has been installed in your host.
- Navigate to the project root directory Run the
docker-compose up -d
command, wait a while ... - Then you can open
localhost:8080
with your browser - Done, enjoy.
Steps to install compiled application on the server for a self-hosting:
- .NET Core Runtime (currently 7.0) must be installed on your host server.
- Download the latest release.
- Unzip and copy to your host server.
- Restart your website.
- Open your website and only the first time you'll be redirected to the register page.
example.com/admin/register/
- Register, and then log in.
example.com/admin/login/
- Done, enjoy.
If you want to customize the Blogifier, or contribute:
- Download and Install .NET SDK.
- Download and Install NodeJs.
- Download, fork, or clone the repository.
- Open the project with your favorite IDE (VS Code, Visual Studio, Atom, etc).
- Run the app with your IDE or these commands:
$ cd /your-local-path/Blogifier/src/Blogifier/
$ dotnet run
Then you can open localhost:5000
with your browser
Please read contributing guidelines. We have a list of things there that you can help us with.
Code released under the MIT License. Docs released under Creative Commons.
Copyright 2017–2023 Blogifier