Cointime

Download App
iOS & Android

Why I Moved My Blog from IPFS to a Server

Written by Neiman

It’s safe to say I was a pioneer of IPFS + ENS websites. When I set up my first ENS+IPFS website in March 2019 there were no more than 15 others. Between 2019 to 2022 I co-built an IPFS+ENS browser extension (Almonit), an IPFS+ENS search engine (Esteroids), and of course, my personal blog was available only in IPFS+ENS.

But today I moved my blog back to a server, and I’d like to discuss why.

What got me excited about peer-to-peer websites like IPFS is that, theoretically, the more visitors a website has, the more robust, censorship-resistant, and scalable it is. Again, theoretically.

Do you know how popular torrent files seem to live forever? I wanted the same but for websites. I imagined a website that is hard to ddos (Robust), difficult to block (Censorship-resistant), and the more readers it has, the faster it is to use it since some readers help to spread the content (Scalable).

I imagined a website with a big “Pin Me” button (pinning in IPFS is like seeding in BitTorrent). If a reader presses the button they wil help serve the website.

In practice this didn’t work out really, and for several reasons.

  1. IPFS users mostly don’t run their own nodes or software. Instead, they use gateways. It’s an educated guess I’m making based on what I see in the community, and based on the fact that it’s quite an inconvenience to run your own IPFS node. But even if you do run your own node, the fact you access a website doesn’t mean you pin it. Not at all.This is a huge difference from BitTorrent where the only way to get content is to run your own software, and when you download something you also share it, by default.Hence, most readers will not help share the website, but even for the ones who will there are still extra complications:
  2. Websites are dynamic objects. Their content is being updated all the time. If you just pin the content of the current version of a website, that’s not much help.What most IPFS websites do is use a name system that points to the latest version of its content. It’s usually either IPNS, the internal name system of IPFS, or ENS, Ethereum Name System. But IPFS doesn’t include yet an easy command to always pin the latest content of IPNS, and if someone uses ENS, it means that whoever pins it also needs to listen to Ethereum blockchain events, a huge extra challenge on its own to do without a centralized service.
  3. To make things worse, it’s actually quite hard to get IPFS content to be available in the browser in a reliable way!For example, I wanted my IPFS blog to be available to all major gateways, all IPFS nodes, Brave browser (which supports IPFS natively), and js-libp2p & helia (the js libraries of IPFS). I didn’t find a reliable way to achieve that on my own.Long rant:I pinned content from my own server and played forever with settings and definitions, but couldn’t get the content to be available everywhere. Worse was with Helia, where I just couldn’t manage to get my content accessible from Helia within the browser without connecting directly to my own node. But then what’s p2p network about it?I found out that there’s a service, cid.contact, called a “Content Routing” service. It’s written in the “about section” of cid.contact it’s related to Filecoin, but for some reason, it holds routing data for IPFS, which as far as I know is a different network. The address cid.contact is hard-coded into Helia’s code in the version I used at least, and it was clear that if a content is indexed by cid.contact, then it’s reachable almost everywhere, but if it’s not indexed - it’s not reachable always.I couldn’t figure out how to index my content in cid.contact. Honestly, I’m not sure I wanted to. Because what’s the point? it seems to just add a dependency on a centralized service. I could try to run my own indexer and define it in my website, but again, centralization. What’s the economic model for these indexers? Which actors do we expect to run them in the long term?The text in cid.contact says that at the current size of IPFS, it’s unreasonable to expect the DHT to handle routing efficiently on its own. This kind of makes sense, but what’s the alternative to that, that doesn’t break up the technology pros?

By now I got tired of the constant struggle for my IPFS blog to function well. At least for a short while, I want a simple, classic working solution. The blog you’re reading now is built with Jekyll and is hosted on my own 10$ server.

don’t get me wrong, I’m still an IPFS fanboy. It’s a great project managed very well. It just doesn’t fit a personal blog needs yet.

That said, It’s difficult to follow the constant development and innovation of IPFS or Filecoin without this becoming a day job. Did I miss some trivial solution or a recent innovation? If yes, let me know. There are no comments here yet, but I am available via old-style email ([email protected]), or in Mastodon (@[email protected]).

ENS
Comments

All Comments

Recommended for you

  • Spot Gold Declines by 2%

    On May 27, spot gold saw its intraday decline widen to 2%, trading at $4,416.32 per ounce.

  • Analysis: Bitcoin May Continue 'May Sell-off', Historical Signals Indicate About 10% Short-term Correction Risk

    Bitcoin has been weakening for a month, retreating after being blocked near $83,000, and is currently moving towards a decline in May, which the market views as a classic seasonal signal of 'May sell-off' re-emerging. Historical data shows that Bitcoin's average return one month after a 'red May' is approximately -10%, and about -3.3% over three months, with short-term trends typically continuing to weaken; based on historical averages, the price could fall to around the $68,200 range. Analysis indicates that 'red May' in a bear market structure is often more destructive; however, Bitcoin's average increase over the six months following 'red May' can reach about +139%, and even after excluding anomalous years, it remains around +12.9%, indicating that the long-term trend has not been disrupted by seasonal signals.

  • U.S. Stocks Open Higher with All Three Major Indices Up

    U.S. stocks opened higher, with all three major indices rising: the Dow Jones increased by 0.18%, the S&P 500 rose by 0.07%, and the Nasdaq gained 0.17%. Micron Technology (MU.O) surged by 6.6% after UBS significantly raised its target price to $162.50.

  • BTC Falls Below $75,000

    Market data shows that BTC has fallen below $75,000, currently priced at $74,968.47, with a 24-hour decline of 2.42%. The market is experiencing significant volatility, so please ensure proper risk management.

  • UCarpay CARDPIE: Connecting Digital Assets with Global Cross border Payment Channels

    As global demand for digital asset circulation and cross-border payments continues to grow, users are increasingly facing challenges such as limited access to traditional payment channels, high foreign exchange costs, and fragmented card management. In response to these market needs, CARDPIE, a professional USDT card aggregation platform, is building a seamless bridge between digital assets and global spending by delivering a comprehensive stablecoin payment solution for both individuals and enterprises.

  • Astarter releases multi chain expansion roadmap signal plan to extend to EVM and Solana ecosystems

    The Cardano ecological infrastructure project Astarter has released a multi chain expansion roadmap signal in public materials, gradually extending its clearing layer infrastructure to mainstream public chain ecosystems such as EVM and Solana. The Astarter team believes that the Al Agent economy and DePIN network essentially run across chains, and the execution layer that only anchors a single public chain is structurally limited. Multi chain expansion is a crucial step for Astarter to reach all AI agent economic activities. The specific deployment goals and timeline for the second public chain will be announced in subsequent announcements. Cardano will still be retained as the basic anchor chain.

  • US Spot Ethereum ETF Sees Net Outflow of $35.1 Million Yesterday

    On May 27, according to monitoring data from Farside Investors, the US spot Ethereum ETF experienced a net outflow of $35.1 million yesterday.

  • US Spot Bitcoin ETF Sees Net Outflow of $333.61 Million Yesterday

    On May 27, according to monitoring by Trader T, the US spot Bitcoin ETF experienced a net outflow of $333.61 million yesterday.

  • Supreme Court's Liu Guixiang: In-depth Study of Judging Rules for New Cases like Virtual Currency and Cross-Border Finance

    On May 27, Liu Guixiang, a deputy-level full-time member of the Supreme People's Court Judicial Committee and a second-level justice, stated at a press conference held by the State Council Information Office that the people's courts will legally support compliant and lawful financial innovation models, combat financial illegal activities, and conduct in-depth research on the judging rules for new cases such as virtual currency and cross-border finance.