HackerTrans
トップ新着トレンドコメント過去質問紹介求人

_mme

no profile record

投稿

Ceiling is being raised: analyzing my typescript code that became a meme

ai88.substack.com
17 ポイント·投稿者 _mme·2 年前·2 コメント

Show HN: Beak.js – Custom conversational assistants for your React app

github.com
36 ポイント·投稿者 _mme·3 年前·23 コメント

Ask HN: Experiences with Flashcards and Learning?

2 ポイント·投稿者 _mme·3 年前·0 コメント

コメント

_mme
·3 年前·議論
Nice project! I made Beak.js which has a similar way to connect a language model to the UI via React hooks: https://github.com/mme/beakjs
_mme
·3 年前·議論
Agree!

For now, I added instructions how to run the demo.

https://github.com/mme/beakjs#run-the-demo
_mme
·3 年前·議論
Exactly, that's the idea - having a backend part of the library that proxies the communication with OpenAI, keeping the API key secret.
_mme
·3 年前·議論
Thank you!

This should be already possible, but it will give you a compiler error if you use Typescript. I will add support in the next version.
_mme
·3 年前·議論
You don't! As mentioned in the README:

"Note: Don't expose your API key in public-facing apps. We will be adding a solution for securely using your API key soon."

I have ideas how to implement this, but I would like to get some feedback first.
_mme
·3 年前·議論
Cool!

I made something similar a while ago, desktop only:

https://songmine.io/