Pico Forum is an ultra-lightweight forum framework built on ASP.NET Core Blazor.
Demo Host (On my ubuntu server)
Unlike common open-source forum projects that are developed using older technologies like PHP, the codebases of these projects have accumulated over the years, reaching an unimaginable level of complexity, becoming bloated and fragile.
A forum doesn't necessarily have to be extensive; it can be compact and lightweight. This is where Pico Forum comes in.
True to its name, it's a micro forum that can be deployed on your home computer.
During the HackTogether event, thanks to the powerful capabilities of .NET 8, I took on the challenge of Blazor and completed the demo in just about a week on my own.
What Excited me the most was the seamless integration of Razor Pages and Bootstrap, freeing developers from the historical struggles with JavaScript and CSS in the mud.
The Server Interactive Razor Page eliminates the presence of MVC in the entire project, creating a unique sensation that requires abandoning traditional website development thinking.
Pico Forum implements the fundamental features expected of a forum, including posting, replying, deleting posts, and banning users.
I am not good at designing frontend pages, so the layout may appear a bit ugly.
Contribution is welcome.
-
download ASP.NET Core Runtime 8.0.0
-
Download release.
-
Edit
appsetting.json
for listen url. -
$ dotnet ./picoforum.dll
on Linux
double click onpicoforum.exe
on Windows -
Input initial password for [email protected](Super Admin) in console.
-
Use an SQLite database, eliminating the need for a heavy database service installation.
-
Uses JSON-formatted extensible persistence configuration files that can be modified either in the web-based administration panel or through the operating system's file manager.
-
Use TinyMCE WYSIWYG editor. RichText Fully Supported (See Below)
-
Low coupling with the system environment; backup only requires copying the directory.
-
Cross-platform on Windows and Linux. (Not fully tested yet)
-
No phone number, no email validation. Reg & Go like internet 90's.
-
I guess the performance should be pretty cool with .NET8 , compare with those PHP old buddy.
How to Configure TinyMCE
I think Blazor should have more useful controls like this.
2023.12.13
-
Fix avatar upload on Linux. Use Skiasharp.
-
Add post search and search query limit.
2023.12.06
-
Add avatar upload. with safety check.
-
Add Jpeg compress quality option.
-
Add max avatar upload size option.
-
Use a better config option to control ip/port binding.
2023.12.04
The Pico Forum is tiny, so the version number is also tiny.
-
Add more infomation on Razor Component. Such as Total View/Reply.
-
Add more field in user table. Like signature something.
Open an issue to share your opion.