Skip to content

File Management

Hermes bisa buat, edit, baca, dan hapus file di server kamu.

Contoh

Buat File

Kamu: Buat file hello.py yang print "Hello World"
Bot:  [membuat ~/hello.py]
      File created: ~/hello.py

Edit File

Kamu: Edit hello.py, tambahkan fungsi greet(name)
Bot:  [edit ~/hello.py]
      File updated.

Baca File

Kamu: Tampilkan isi config.yaml
Bot:  [membaca ~/config.yaml]
      model:
        default: gc/gemini-2.5-flash
        ...

Upload via Telegram

Kirim file sebagai attachment di Telegram → Hermes simpan di server.

Download dari Server

Kamu: Kirim file ~/report.pdf ke sini
Bot:  [mengirim file via Telegram]

Working Directory

Default working directory: /home/hermes/

Semua file relatif dari sini:

  • ~/project/ = /home/hermes/project/
  • ~/data/ = /home/hermes/data/

Limitasi

  • Max file size upload via Telegram: 50MB
  • Max file size download via Telegram: 50MB
  • Disk space terbatas sesuai plan
  • File hilang kalau container di-delete — backup penting ke GitHub/cloud

Powered by Cortex AI