fosslife / devtools-x

Collection of offline first developer utilities available as non-electron desktop application. all in one place, cross-platform, 10MB app!
https://devtools.fosslife.com/
MIT License
1.12k stars 54 forks source link

[Feature discussion] Readme generator #94

Closed ThijsZijdel closed 3 months ago

ThijsZijdel commented 3 months ago

Todo before PR

Todo for the markdown editor used in both modules

Screenshot 2024-08-10 at 13 26 47

Inspired by: readme.so

Ideas/ discussion

Sparkenstein commented 3 months ago

I am against any AI embedding mostly. It deserves it's own dedicated tool. we can support this globally by asking user to point to locally installed ollama version. but that's a big development decision, we should refrain for now

Maybe you can add a markdown cheatsheet. or even insert snippet option for example a lot of time I don't know what is the syntax for a table. https://github.github.com/gfm/ covers all

Showing wordcount might help writers too (that's why it's called as markdown preview and not readme preview, it's generic).

and maybe emoji modal to easily copy paste emojis.

ThijsZijdel commented 3 months ago

I am against any AI embedding mostly. It deserves it's own dedicated tool. we can support this globally by asking user to point to locally installed ollama version. but that's a big development decision, we should refrain for now

What about OpenAi key insert field? Just like the github pastebin

Maybe you can add a markdown cheatsheet. or even insert snippet option for example a lot of time I don't know what is the syntax for a table. https://github.github.com/gfm/ covers all

Good call, will add a popover on the markdown editor & this new readme one.

Showing wordcount might help writers too (that's why it's called as markdown preview and not readme preview, it's generic).

Will do, both are currently using the same MarkdownEditor under the hood. So it's an easy addition.

Primary difference of this "new" readme editor is the insertion of templates and the way the data is structured.

Each section / part is based on a template which auto combines to a default Markdown editor file.

and maybe emoji modal to easily copy paste emojis.

For sure.

Sparkenstein commented 3 months ago

Yeah Openai key works. it should be completely optional. i.e. it doens't break any feature if the key is not present.

(my bad I misunderstood that you renamed the existing markdown preview to Readme. this looks like a new module, that's great)

ThijsZijdel commented 3 months ago

Created a PR, have most of the MD features local ready. But those still need some work, same for the color wheels 🔥

Sparkenstein commented 3 months ago

I think importing the readme doesnt populate the source, can you check

ThijsZijdel commented 3 months ago

Closing this for now and opening a general "md" extensions one.