BrowserPod
Docs Blog Demos
BrowserPod
  1. Overview
  2. Getting started
    1. Quickstart
    2. Set up a basic NPM-based project
  3. Understanding browserpod
    1. API keys
    2. Filesystem
    3. Portals
    4. Cross-origin isolation
  4. Guides
    1. Write files to the Pod
    2. Run programs in a Pod
    3. Set up a Portal
    4. Set CORS and COOP headers
    5. Installing the Rust toolchain
    6. Working around native npm dependencies
    7. Debugging BrowserPod
  5. Reference
    1. BrowserPod
      1. boot
      2. createCustomTerminal
      3. createDefaultTerminal
      4. createDirectory
      5. createFile
      6. onOpen
      7. onPortal
      8. openFile
      9. run
    2. BinaryFile
      1. write
      2. read
      3. getSize
      4. close
    3. TextFile
      1. write
      2. read
      3. getSize
      4. close
    4. Terminal
      1. Process
      2. More
        1. Glossary
        2. FAQ
        3. Licensing
        4. Changelog

      TextFile

      • write
        Write a string into a TextFile in a BrowserPod Pod's virtual filesystem, returning the number of bytes written.
      • read
        Read text from a TextFile in a BrowserPod Pod, returning the requested length of data as a decoded string.
      • getSize
        Get the size in bytes of a TextFile stored in a BrowserPod Pod's virtual filesystem, returned as a promise.
      • close
        Close a TextFile handle in a BrowserPod Pod to flush pending writes and release the file once you have finished reading or writing.
      BinaryFile Terminal
      Leaning Technologies
      UK Business Tech Awards 2022 Finalist National Technology Awards 2022 Winner

      Technology

      • Cheerp
      • CheerpJ
      • CheerpX
      • CheerpX for Flash
      • BrowserPod

      Browser extensions

      • CheerpJ Applet Runner
      • CheerpJ JNLP Runner

      Resources

      • Documentation
      • Blog
      • GitHub
      • Contributing

      Company

      • About us
      • News
      • Privacy policy
      • Careers

      © 2026 Leaning Technologies . All rights reserved.

      Cheerp is a registered trademark of Leaning Technologies. The Cheerp, CheerpJ, and CheerpX logos are based on the HTML5 logo by W3C (license)