nhaouari / obsidian-textgenerator-plugin

Text Generator is a versatile plugin for Obsidian that allows you to generate text content using various AI providers, including OpenAI, Anthropic, Google and local models.
https://www.text-gen.com/
MIT License
1.36k stars 117 forks source link

www.text-gen.com needs WWW->non WWW redirect [Broken Links] #298

Open pale2hall opened 3 days ago

pale2hall commented 3 days ago

Hey! Awesome plugin.

When I try to load https://www.text-gen.com it goes to a 404

My guess: SSL issue or web server not listening on www.

Screenshot 2024-06-30 at 12 26 58 PM

Anyway, the link on the main page of the Obsidian-textgenerator-plugin is broken, but if you remove the www it works.

Should be an easy fix. Also, discord invite link (updated) is dead.


Since I'm here: Anyone know how to include the Path in my template?

I'm trying to figure out how to include a note's path, since it would give the AI context. (I'm using Obsidian for Dungeons and Dragons, so my notes are /characters/place/npc or /places/town/shop etc. (I am trying to look into this myself, but if someone has an answer I'd love it)

haouarihk commented 2 days ago

thanks for the report.

and about the path for the file.

you can try {{noteFile.path}}

in the playground you can do {{log this}}. it will show you everything in the context. (it will show it in the devtools>console

image