Welcome to this Brave New World (pun intended), where we don't need to write software—all we need to do is ask a robot to write it for us.
We just have to describe it...
Let's see the process:
We log into the Linux VM:
nobait@Dev-Station:~$ curl -fsSL https://opencode.ai/install | bash
Installed version: 1.15.0.
Installing opencode version: 1.15.4
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
OpenCode includes free models, to start:
cd <project> # Open directory
opencode # Run command
For more information visit https://opencode.ai/docs
nobait@Dev-Station:~$
nobait@Dev-Station:~$ ./yt-summary.sh https://youtu.be/NYmXYF8A3Q4
------------------------------------------------
🚀 PROCESS STARTED
------------------------------------------------
📥 Downloading & Extracting Audio...
[youtube] Extracting URL: https://youtu.be/NYmXYF8A3Q4
[youtube] NYmXYF8A3Q4: Downloading webpage
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one
[youtube] NYmXYF8A3Q4: Downloading android vr player API JSON
[info] NYmXYF8A3Q4: Downloading 1 format(s): 251
[download] Destination: audio_1779081875.webm
[download] 100% of 12.18MiB in 00:00:00 at 18.41MiB/s
[ExtractAudio] Destination: audio_1779081875.wav
Deleting original file audio_1779081875.webm (pass -k to keep)
⏱️ Audio Duration: 15m 11s
✍️ Transcribing (Whisper Turbo v3)...
✅ Done! Transcription Time: 33.83 seconds
🧠 Summarizing (Qwen 3.6)...
------------------------------------------------
📝 SUMMARY RESULT
------------------------------------------------
Here is a summary of the video transcript, broken down by key themes and arguments:
[I removed the long summary for brevity...]
------------------------------------------------
⏱️ Summary Time: 20.33 seconds
🧹 Cleaning up...
🏁 All done.
nobait@Dev-Station:~$
Now we will tell OpenCode to write the same with a web front end plus a few bells and whistles...
Actually I have created a prompt and saved as a text file (~/oc-instructions.txt) and all I will tell opencode is
Please read @~/oc-instructions.txt and build the application exactly as described
so here it goes:
It took it exactly 1 minute.
It took me 10 minutes to just describe what I want and much more to write this post.
We are toasted...
The prompt I gave opencode to write the app was:
But don't let this long description discourage you!
As I said before, we can use a can use a chatbot, like ChatGPT, Gemini etc, or even out own LLM, to talk to the chatboat about it and let the chatbot buidl the detailed OpenCode prompt for us...
It is getting worse, no???
No comments:
Post a Comment