iT邦幫忙

2025 iThome 鐵人賽

DAY 19
0

前幾天説了這麽多理論,今天就來説如何真實應用吧

在使用open lovable的前有需要的前置準備。

  • github帳號(需要clone開源專案的https或者ssh)
  • vscode
  • firecrawl帳號
  • api key
  • vercel 或 e2b sandbox帳號

Firecrawl帳號

首先,先去firecrawl官網,注冊一個帳號。firecrawl官網

https://ithelp.ithome.com.tw/upload/images/20251003/20168629RUe5zA3U4I.png

那我是直接使用github帳號去登錄的,在登錄在firecrawl 后會是

https://ithelp.ithome.com.tw/upload/images/20251003/201686296XIai9S7yU.png

在左邊有一個api key,之後點擊create

https://ithelp.ithome.com.tw/upload/images/20251003/2016862975Q8dKaaxl.png

create一個api key,先把api key留著後面會用到。

AI API key

我的AI模型選擇的是gemini api key,原因是gemini api key每個賬號有免費的token數,而anthropic,openai 是需要付費才能使用它們的api key,不然就是使用多少token就要付多少的費用

gemini api key 是在 aistudio 裏面申請的
https://ithelp.ithome.com.tw/upload/images/20251003/20168629UycSKsqqVl.pnghttps://ithelp.ithome.com.tw/upload/images/20251003/20168629xHZng7DJXU.png

create API key 后就也是先把API key留著 後面也可以用到。

Sandbox

我的沙盒選擇的是e2b沙盒,會選擇他也是比較容易申請API key,而另一個就比較複雜

網址: E2B sandbox

https://ithelp.ithome.com.tw/upload/images/20251003/20168629364AnfUFth.png

點擊 Start for free后會需要注冊賬號才能使用API key,而後點擊API key

https://ithelp.ithome.com.tw/upload/images/20251003/20168629lpMA5oKP00.pnghttps://ithelp.ithome.com.tw/upload/images/20251003/201686290Ne0SaKDU4.png

create key就可以擁有e2b 的API key,API key也是先留著後面才會用到。

今天這篇有點長,明天再繼續~


上一篇
day 18 (接)
下一篇
day 20
系列文
玩Switch 2 不如 玩Stitch Lab:用 Stitch 加速你的網頁開發21
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言