zernonia / tweetic

Convert Tweets to Static HTML
https://tweetic.zernonia.com/
MIT License
241 stars 17 forks source link

feat(api): stronger `types` & twitter url check. #42

Closed cpreston321 closed 2 years ago

cpreston321 commented 2 years ago

Features

Regex Test

https://regex101.com/r/AAtIUu/1

vercel[bot] commented 2 years ago

Someone is attempting to deploy a commit to a Personal Account owned by @zernonia on Vercel.

@zernonia first needs to authorize it.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
tweetic ✅ Ready (Inspect) Visit Preview Sep 21, 2022 at 3:19AM (UTC)
cpreston321 commented 2 years ago

@zernonia I added a helper utility that extends defu using h3 which nitro is wrapped under. You visit it here I released this early in the day.

https://github.com/cpreston321/h3-defu

Essentially the same concept just different package.

Same as useBody(event) -> getBodyWithDefaults(event, defaults = {})

cpreston321 commented 2 years ago

@zernonia

Also have a pre-release out for nuxt-vscode if you want to test it :)

https://github.com/cpreston321/nuxt-vscode

Appreciate it

zernonia commented 2 years ago

h3-defu looks good. Add a suggestion https://github.com/cpreston321/h3-defu/issues/1 😁