Perlite - publish your Notes to your own Web Server

Hi,
this tool works like a charm. By far the easiest solution i found.
I put into my webhoster, moved the vault and done.
almost. I think the documentation should tell where to change “$rootdir” buti found it.
It would be amazing to create a community plugin with it, so the vault is published by FTP to the webhoster. (and maybe a flag in yaml can tell if it is to be uploaded ir not)

But it could be synced with freefiledsync or similar.

I also read about the access restriction questions. I think if there would be a plugin within obsidian, the plugin could create htaccess files where necessary.

Thanx for the great work.

2 Likes

Hi @jothk77

Thank you for the feedback! I created a wiki Home · secure-77/Perlite Wiki · GitHub, hopefully there is everything covered now.

I`am using Git for the sync, but for this of course you need a hosted vm. Of course a FTP plugin would be nice, but I think this need to be done by someone else.

@Serdj, I’am thinking about to implement a light mode switch, technical this should be possible.

Thanks @secure777 for your great work.

If I understand correctly, this only works to view the notes published to a website. Is this correct?

I was thinking that it would be great if one ha the possibility posibility to also edit the notes online. This is one of the features many users are lacking in our self-hosted setups. Do you think this possible at all?

Thanks.

Hi @wdsgn ,

Yes, this project is only for viewing your notes online. Of course something like this could be implemented, but editing is a whole different game and not the scope of this project. If you are looking for an easy way to edit your files online, I would suggest using github.

Amazing work so far. Very excited to see future capabilities.

I’ve come across a really useful feature in Obsidian called “stack tabs groups”. Here you can find reference to it in their documentation: Use tabs in Obsidian - Obsidian Help.

I believe this would be a fantastic addition to add. Hope you’d consider it!

Best regards.

b.

Hi @beto,

I know about the tab functionality in obsidian and its amazing! However, since Perlite runs in a browser I see no need to implement this feature because you can already use the browser tab functionality.

BR,

sec

Thank you so much Amigo!
You have done a great job!

Thanks for the feedback!
By the way, today I released a new version with some improvements:

1.5.9

  • added YouTube link support
  • added image postion support
  • fixed direct page links
  • added support for webp images
  • fixed kartex problem PR
  • fixed obsidian edit link thanks to klgzzz
  • changed site title to use the env. variable site_title
  • fixed issue [#128]
  • added m4a support
  • added img link support to external urls
  • added tasks support
  • updated mermaid to 11.2.1
  • updated katex to 0.16.11
  • updated highlight.js to 11.10.0
  • changed base image for perlite_web to nginx:stable

What would be ideal is to for Obsidian to provide the ability to generate similar static files to the ones generated by Obsidian Publish. That way, you could upload them to your own web server.

Not sure what you mean? There are already plugins available which can export your notes as HTML files. But as this involves some extra manual steps and you will miss the navigation menu and a lot of other features (search, graph… etc.) is the reason why I created Perlite.

By the way, I released version 1.6 now which comes with the following changes:

  • get rid of mb_strlen, fixed issue #151 thanks to @Sephral
  • hide X / Twitter when not set, issue #152, thanks to @EKNr1
  • implemented settings.php, issue #119, thanks to @EKNr1
  • implemented pretty urls, issue #140
  • removed not used Dockerfile
  • fixed issue #148
  • fixed issue #149
  • implemented highlight support #150
  • implemented TOC mobile support #141
  • implemented Tags in side view #122
  • added possibility to allow access to MD files in hidden folders via HIDDEN_FILE_ACCESS variable, thanks to @EKNr1 for the idea.
  • updated katex to 0.16.22
  • updated highlight.js to 11.11.1
  • updated mermaid to 11.6.0