wwoessi
The LLMs pick it up very easily!
To navigate to your desired page more easily, go from any 'github.com/_' url to 'forgithub.com/_' and you'll get *quick links*! You can star your favorites, or after you remember them you can visit them directly.
As long as there's a openapi.json available at the domain, you can import a type safe fetch-function as follows:
```typescript // Save this as test.ts and run it using `deno run --allow-net --allow-import test.ts`
// Import the chat completion function directly import createChatCompletion from "https://oapis.org/ts/chatcompletions.com/createChatCompletio...
// Use it without any SDK installation const completion = await createChatCompletion({ headers: { "X-LLM-API-Key": "YOUR_SECRET", "X-LLM-Base-Path": "https://api.deepseek.com/v1", }, body: { messages: [ { role: "system", content: "You are a helpful assistant." }, { role: "user", content: "Hello!" }, ], model: "deepseek-chat", }, });
if (completion.body) { console.log(completion.body.choices[0].message.content); //Hello! How can I assist you today? } else { console.log("ERROR", completion.status); } // This works like a charm! ```
Hope you like it. Feedback appreciated!
Show HN: QuickOG – Instant OG Image by Screenshot
Made a little something, might come in handy.
Also I'd buy a pendant if I can send it to my own S3!!!!
I couldn't sleep tonight and decided to whip this up...
I've also explored Swift AVFoundation to drop frames and colours at the moment of recording, but won't be implementing it at this time.
This was just a POC, and couldn't hack it in a day.
I'm happy to think about e2e encryption.
I think it should be done in Swift tbh to get battery impact under 10%
Show HN: Open Rewind – POC for audio and screen and video streaming to S3
https://github.com/janwilmake/efficient-recorder
Got into a rabbit hole today.POC works using 'npx efficient-recorder'.Is this useful to anyone?
I think it makes sense.
YAML is shorter and easier to read, Markdown codeblocks have no added syntax between the lines compared to normal code.
But JSON vs JSONL I can't come up with any big advantages for the LLM, it's mostly the same.
Previous example but in JSON:
https://uithub.com/upstash/docs/tree/main/qstash?accept=appl...
Is there any reason to prefer JSONL besides it being more efficient to edit? I'm happy to add it to my backlog if you think it has any advantages for LLMs
- for browsers it shows html - for curl is gets raw text
I've made https://uithub.com 2 months ago. Its speciality is the fact that seeing a repo's raw extract is a matter of changing 'g' to 'u'. It also works for subdirectories, so if you just want the docs of Upstash QStash, for example, just go to https://uithub.com/upstash/docs/tree/main/qstash
Great to see this keeps being worthwhile!
More NPM Packages on Cloudflare Workers
Show HN: Uithub – Easily Ask Your LLM Coding Questions
I've created uithub, a tool that allows developers to easily get LLM context for their coding questions and perform AI repo analysis at scale. Here's what it does:- Get Context: Simply change the 'g' in github.com to 'u' to access AI-powered insights on any GitHub repo. - Flexible Querying: Fetch entire repos, specific branches/subfolders, or filter by file type and size. - API for Developers:...
It's using gpt-4o-mini and the Hackernews API.
Using LLM to Filter your Hacker News timeline based on preferences
It still isn't adopted as much as it could've. But I'm working hard to make it reality. Not there yet, but happy to share my works so far.