Skip to content

Instantly share code, notes, and snippets.

@jcalfee
jcalfee / ipfs-edit.md
Created April 21, 2026 13:20
`ipfs-edit` — Tiny Interactive IPFS MFS Editor

A single-file bash script that makes editing and publishing IPFS content extremely simple.

It mounts the IPFS namespaces, drops you into your chosen MFS folder with a clear prompt, lets you edit normally, then publishes to any IPNS key when you type save.

Features

  • Three clean phases: Start → Edit → Publish/Cleanup
  • Shows every important ipfs command with set -o xtrace
  • Optional interactive prompts (no arguments needed)
  • Automatically restores your original working directory when done
  • Early error checking and clean exits
```js
extension(account_create_operation_ext = new Serializer(
"extension account_create_operation_ext",
{value: account_create_operation_ext}
));
var account_create = new Serializer(
"account_create",
{fee: asset,
registrar: protocol_id_type("account"),
@jcalfee
jcalfee / designer.html
Created August 16, 2014 19:46
designer
<link rel="import" href="../components/polymer/polymer.html">
<script src="../components/platform/platform.js"></script>^M | }^M
<link rel="import" href="../components/font-roboto/roboto.html">^M | ^M
<link rel="import" |polyfill-next-selector { content: '.card-header h2'; }
href="../components/core
@jcalfee
jcalfee / designer.html
Created August 16, 2014 19:45
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;