foxden — Python in a sandbox with no network 作者: Pooria
Run Python on your files in a browser tab with no network. Drop a CSV, run code, and download the results. The code runs in a sandboxed page that cannot reach any server, so your files stay on this device.
1 个用户1 个用户
扩展元数据
关于此扩展
foxden is the reference add-on for the foxden library. It opens a Space: a page with a folder of files and a Python that has no network.
Who it is for: people who want to work on a CSV or a text file with Python without an upload site, and developers who want a safe place to run code that an AI agent wrote.
What it does
How the sandbox works: the code runs in a worker inside a sandboxed extension page. That page has an opaque origin, no extension APIs, and the content security policy
What leaves your computer: nothing. Pyodide is inside the add-on, so it downloads nothing. The add-on has no server and no analytics.
Permissions
The
The source code is MIT licensed.
Who it is for: people who want to work on a CSV or a text file with Python without an upload site, and developers who want a safe place to run code that an AI agent wrote.
What it does
- Opens the Space when you click the toolbar button.
- Puts the files that you drop or choose in
/drop. The files stay in the browser's IndexedDB across reloads. - Runs Python (Pyodide, CPython compiled to WebAssembly) with a time limit. Only the Python standard library is there.
- Runs a small shell with
ls,cat,head,wc,grepandechoon the files. - Offers the files that the code writes to
/outas downloads.
How the sandbox works: the code runs in a worker inside a sandboxed extension page. That page has an opaque origin, no extension APIs, and the content security policy
connect-src 'none', so the code cannot reach any server. The badge says "Network: off".What leaves your computer: nothing. Pyodide is inside the add-on, so it downloads nothing. The add-on has no server and no analytics.
Permissions
- Unlimited storage: the files in the Space can pass the normal storage limit.
The
sandbox manifest key needs Firefox 154. On Firefox 153 the Space uses an iframe with the sandbox attribute.The source code is MIT licensed.
评分 0(1 位用户)
权限与数据
更多信息