Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature discussion] Readme generator #94

Closed
7 of 12 tasks
ThijsZijdel opened this issue Aug 10, 2024 · 6 comments
Closed
7 of 12 tasks

[Feature discussion] Readme generator #94

ThijsZijdel opened this issue Aug 10, 2024 · 6 comments

Comments

@ThijsZijdel
Copy link
Contributor

ThijsZijdel commented Aug 10, 2024

Todo before PR

  • Setup templates
  • Preview final rendering
  • Show/hide editor/ preview
  • Edit a part
  • Reordering parts
  • Removing parts
  • Preview templates before inserting
  • Build more advanced templates like Awsome Readme

Todo for the markdown editor used in both modules

  • Markdown cheatsheet
  • → via one click insertion
  • Wordcount
  • Emoji modal

Screenshot 2024-08-10 at 13 26 47

Inspired by: readme.so

Ideas/ discussion

  • Implement ai/ content writing?
  • Build a better ui for "shields.io/badges"
  • Store references to local/machine files? ...
@Sparkenstein
Copy link
Member

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
Copy link
Contributor Author

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
Copy link
Member

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
Copy link
Contributor Author

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

@ThijsZijdel ThijsZijdel mentioned this issue Aug 20, 2024
@Sparkenstein
Copy link
Member

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

@ThijsZijdel
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants