justyns / silverbullet-ai

Plug for SilverBullet to integrate LLM functionality
https://ai.silverbullet.md/
GNU Affero General Public License v3.0
29 stars 1 forks source link

Documentation #16

Closed justyns closed 3 months ago

justyns commented 8 months ago

Before the readme gets too big..

zefhemel commented 8 months ago

Somewhere else you suggested using silverbullet-pub for this, I've now added a sample GH actions workflow to the repo that you can use. Only annoying thing is that GH pages by default publishes to a sub-directory unless you configure a custom domain, which breaks (it assume it's deployed to the root). In case you want to set this up though, I'd be happy to point e.g. ai.silverbullet.md to it, just let me know. I'm publishing https://pub2.silverbullet.md using GH pages and GH actions from that repo now, works fine.

justyns commented 7 months ago

Thanks for the offer, that'd be great!

I was experimenting with cloudflare pages a little bit, mostly only because you can have different subdomains for each branch/commit if you want. I'm leaning towards keeping it simpler and sticking to gh pages though.

zefhemel commented 7 months ago

I’ve just CNAMEd ai.silverbullet.md to justyns.github.io which is supposed to work. You can configure ai.silverbullet.md as a custom domain for GH pages now, that should work (once DNS propagates).

justyns commented 7 months ago

Thanks @zefhemel , that worked without any issues. I had to publish something to gh pages first, but https://ai.silverbullet.md/ is loading now. Now I just need to find some time to work on it this week 😅