vpub-plus - a fork of vpub

Author Topic
mysh

Posted 2022-07-01 07:09:31

Not much of a plus though. I just couldn't think of another name for this fork :)

Anyhoo, I made a fork of this project on my github, where I will periodically make improvements to it, but this may conflict with the simplicity of the project - so probably only fixes will be sent to the vpub. Right now there is not much, just more detailed readme and some github actions for releases. Planning to add markdown tables and more.

And I also need to figure out how to send patches to the vpub sourcehut repo, because the only way any of my changes land to it is through email

Take a look at vpub-plus!

Last edited on 2022-07-01 07:14:04

mysh

Posted 2022-07-02 19:31:54

And probably the first thing that I will add is tables, heh

Tracking issue: https://github.com/hugmouse/vpub-plus/issues/1

Last edited on 2022-07-03 10:03:38

mysh

Posted 2022-08-13 11:47:56

Now you can specify the site language, and also use headings in your posts!

Release 1.0.5: https://github.com/hugmouse/vpub-plus/releases/tag/1.0.5

davidvkimball

Posted 2023-07-23 23:32:54

Very neat. Honestly compiling something like this is a bit more than I really understand, but good on you for creating it.

mysh

Posted 2023-07-26 11:38:48

More syntax sugar. More everything.

I forgot I had a topic about my fork here, so here's an update from January 2023:

  • Added code blocks, strike-through
  • User's profile picture now have a alt attribute
  • Atom feed now have a charset=utf-8 in it's response header
  • Removed invalid HTML values like colspan="grow" from <td> tags
  • Removed some unnecessary trailing slashes
  • Added Open Graph meta tags for article:published_time, article:modified_time, article:author
  • Forum's title is now more dynamic:

On the main page it will display the site name that you specify in the settings

On the forum page it will display the site name + forum title

On the board page it will display the site name + board title

On the topic page it will display the site name + topic title

  • Fixed Atom feed so it's now Atom 1.0 feed compatible

Release 1.0.6: https://github.com/hugmouse/vpub-plus/releases/tag/1.0.6

Last edited on 2023-07-26 11:41:52

mysh

Posted 2024-09-20 19:40:08

Still alive and well. Doing a little bit of refactoring.

Features

- Added blackfriday markdown renderer. You can enable it by compiling the project with `--tags blackfriday`

- Remove CGO

- Docker support

- CSRF support

- Prettier error page

Fixes

- First `vpub` run. When you don't have a table named "schema_migration" it will simply crash. Now fixed!

- Added missing CSRF fields in some places

Release 1.0.7.1: https://github.com/hugmouse/vpub-plus/releases/tag/1.0.7.1

Full Changelog: https://github.com/hugmouse/vpub-plus/compare/1.0.6...1.0.7

Last edited on 2024-09-20 19:41:00

m15o

Posted 2024-09-27 16:10:20

super excited to see you are still maintaining it :)

mysh

Posted 2024-09-27 20:09:14

Yeah it's fun. Doing little updates to it from time to time :^)

mysh

Posted 2024-12-25 12:15:44

Happy Christmas!

New release: 1.0.8 - https://github.com/hugmouse/vpub-plus/releases/tag/1.0.8

New

- Alternative text for profile pictures #6

- More error messages and more error handling in general

- Dark theme (using `prefers-color-scheme`)

- CSS refactoring: using CSS variables

- More open graph meta information for richer link previews on third-party services

Fixes

- `<pre>` tag overflow in the forum post

Full Changelog: https://github.com/hugmouse/vpub-plus/compare/1.0.7.1...1.0.8

Last edited on 2024-12-25 12:16:04

mysh

Posted 2025-01-01 18:20:29

Happy 2025!

New release: 1.0.9 - https://github.com/hugmouse/vpub-plus/compare/1.0.8...1.0.9

When you first start your vpub-plus, you'll now have an example forum, board, and two posts. Hope that will help you get started.

Changes in Version 1.0.9:

  • Updated styling
  • Simplified Docker image, uses less space
  • More error handling, warning logs if you use default CSRF and Session Key
  • Removed unused code

How does it look like?

Main Page

Post about changing your password

Post about What to do?

Last edited on 2025-01-01 18:20:40

mysh

Posted 2025-03-02 15:06:00

New release: 1.11 - https://github.com/hugmouse/vpub-plus/releases/tag/1.11

Now you can use search to find posts, users and boards and also some visual fixes.

Full Changelog: https://github.com/hugmouse/vpub-plus/compare/1.10...1.11

---

Screenshot of a search page. It shows results for func query, 5 results found

Last edited on 2025-03-02 16:10:11

m15o

Posted 2025-03-03 20:59:43

Looks great!!

mysh

Posted 2025-03-04 13:03:29

Many thanks, m15o. And thank you for creating this forum!

nobo

Posted 2025-05-12 02:19:52

That's pretty cool. I pulled it down the other day but decided I didn't have time to learn go and figure out how to get it working. Your docs and the docker container should make it pretty easy if I decide to give it another shot.

mysh

Posted 2025-07-25 11:29:43

I didn't post here in quite some time. More versions are now available: 1.12, 1.13 and 1.14.

--------

1.12 - Dynamic type formatting (JS based)

You can now specify your preferred time format in the account settings! You can find screenshots and more information here: https://github.com/hugmouse/vpub-plus/issues/7

Full Changelog: https://github.com/hugmouse/vpub-plus/compare/1.11...1.12

## Technical stuff

- Big feature: dynamic loading and listing of JS files on every page.

As an example, take a look at `server-time-to-local.js`. It formats the time into a specific format that the user can select on the `/account` or `/update-account` routes (settings page).

You can also add any number of JS files to `/assets/js/` folder and they will all be loaded on every page (which at the same time is a limitation of this particular method).

Every JS file is embedded into a virtual file system and then served from there to the client in a separate request.

- Updated the Dockerfile to use more modern Go.

- Added pre-go-generated files, too.

--------------

1.13 - Server-side proxying of images

This release adds a proxy route (accessible at `/image-proxy?url=URL`) that caches remote images in memory for 10 minutes, with a maximum image size of 524 KB

It also modifies two default renderers — vanilla and blackfriday — so that image nodes are now rendered with `/image-proxy?url=%s` prepended, enabling automatic use of the new proxy service. To disable this behavior, you must modify the `Convert` functions within your preferred rendering engine.

This feature was added to provide an additional layer of security for users, as it was previously possible to use third-party image hosting to track users' IPs

Full Changelog: https://github.com/hugmouse/vpub-plus/compare/1.12...1.13

----------------

1.14 - Ability to change rendering engine in runtime (in the vpub-plus settings)

gif demonstrating the main new feature - changing rendering engine on the fly

You can now change rendering engine in the instance settings. It applies selected engine site-wide.

Out of the box you have the following:

- Blackfriday (markdown renderer, third-party)

- Vanilla (markdown renderer)

Learn here on how to add custom render engine.

Full Changelog: https://github.com/hugmouse/vpub-plus/compare/1.13...1.14

macadoum

Posted 2025-07-27 18:09:15

It would be nice to support other languages and be able to choose the language interface in the settings.

mysh

Posted 2025-07-28 11:22:37

Yeah I was thinking about this feature for some time now, too. It is certainly possible to implement, but requires some careful planning since i18n features are complicated.

macadoum

Posted 2025-08-01 10:19:48

Oh nice :)

I can't help you to implement it, but I can help with translations.