Software & DevOps

Set up a small web server on a Raspberry Pi

One person had Gemini write the code for a small web server on a Raspberry Pi, plus a script to run it as a system service.

Steps

  1. Describe what the server should do.
  2. Copy the code to the Pi.
  3. Set it to start when the Pi boots.

Prompt you can copy

Write a tiny web server for my Raspberry Pi that [does X], plus steps to run it automatically at startup.

Tools

  • Gemini

For Developers, Individuals. Added .

Source

hn ·

Related use cases

Software & DevOps

Build your first Android app

With no Kotlin experience, one developer built their first Android app with Gemini.

Developers, IndividualsGemini

Software & DevOps

Write a keyboard shortcut script

One person asked Gemini for an AutoHotkey script that switches keyboard layouts with Caps Lock. It works well.

Developers, IndividualsGemini

Software & DevOps

Build a small desktop app to send files to a CNC machine

A hobbyist asked Gemini Pro for a Python Qt app that sends g-code files to a CNC machine or laser cutter, and it runs on Windows, Mac, and Linux.

Caution. Test machine tools carefully.

Developers, TradesGemini