stroiman / obsidian-dev-publish

Obsidian plugin to publish to dev.to
MIT License
2 stars 0 forks source link

FR: About the front-matter #1

Open Rooyca opened 1 month ago

Rooyca commented 1 month ago

Hey @stroiman! I really like this idea and I'd love to help.

Today I'm coming here with two ideas:

  1. It'll be good to add the tags the user define on the front-matter.
  2. Would be interesting to publish automatically if publish-to-dev (or something like that) is present in the front-matter.
stroiman commented 1 month ago

Hey - thanks for the input. I greatly appreciate it.

The current state of the project is that it was done quite quickly in a 4-hour live stream ;) So there's a lot that's missing. The tag feature is already on my todo, but the automatic publishing is an interesting idea, I have not considered.

There may be a slight technical problem though, the API (according to the documentation) is rate limited, so continuously updating the article could lead to problems, but should be solvable using throttling in the plugin code.

My plan is actually to write the next update during a live stream, allowing people to follow along in the process, I expect this to be Friday at 10 CEST (at twitch.tv/stroiman)

I updated the readme file with what I consider missing features.

One thing I'm unhappy about is that it seems to be impossible to securely store API keys. I did some search, and generally that was an unanswered. And I asked the question in the discord channel, and got the reply, "that's not possible - I also store it in the plugin settings". So right now I just have a big fat warning in the readme file and the settings dialog.

But if you happen to know otherwise, I'd love to hear.

Rooyca commented 1 month ago

continuously updating the article could lead to problems

Yeah, you're right. Maybe it's not a good idea.

Friday at 10 CEST (at twitch.tv/stroiman)

I'll be there :smile:

it seems to be impossible to securely store API keys

Yes, I saw your question on discord. Maybe using encryption(?), not sure which package or witch method.