In this case we'll have to define a "timeframe" variable in the `get_top_stories` function that takes in values like "now", "week", "alltime" etc. to make that work
978 karma · joined November 18, 2019
In this case we'll have to define a "timeframe" variable in the `get_top_stories` function that takes in values like "now", "week", "alltime" etc. to make that work
Thanks for playing around with Novel!
But I ended up scrapping it because it was a bit too noisy. Might add it back as an optional checkbox tho!
Y.js sounds amazing – gonna have to look into it! Have been using Liveblocks for real-time data stuff, the DX is a breeze to work with!
First of all, apologies for the typo lol, apparently I can't spell "WYSIWYG" :')
Some context: I've always been a huge fan of Notion's editor, and since Vercel launched the AI SDK yesterday (https://sdk.vercel.ai/docs), I decided to take this as an opportunity to recreate Notion's block editor + incorporate some of Notion's latest AI features with `npm i ai`
Here's basically how it works:
1. Tiptap Editor setup with custom slash command extension 2. `useCompletion` hook at the parent editor + the slash command menu – using `id` to share states 3. `/api/generate` route to stream responses from OpenAI
Novel also handles image uploads via drag & drop / copy & paste. Images are stored as base64 strings in localStorage currently, but I'm planning to implement uploads to Vercel Blob in the future.
The code is fully open-source – feel free to check it out: http://novel.sh/github
Hope y'all like this – let me know if you have any feedback!
Here's the code for it: https://github.com/steven-tey/novel/blob/main/ui/editor/inde...
I've debated between "++" vs "+++", but settled for ++ since it's lesser keystrokes (at the risk of conflicting with more common words/phrases) haha
Will relay your feedback about the icon back to the team - thank you for trying this out!
Features: ◆ AI-Plugin & OpenAPI JSON specs ◆ Next.js Metadata API, Route Handlers ◆ Returns a link with a dynamic OG image card
By itself, WeatherGPT is a ChatGPT Plugin to get the weather of any given location. It can also make appropriate recommendations of what outfits to wear given the weather.
Hope you guys like it, LMK what you think!
~ Steven & Dom from ShareGPT
If you deploy your own version you'd be able to remove the restriction: http://vercel.fyi/mux