How to Build a Free Anonymous Writing Platform From Scratch (Step-by-Step, With Charts)

Some of the best things people write never get posted, because posting means a name, a profile and an audience. An anonymous writing platform fixes that: a quiet space where anyone can drop a thought, a quote or a confession, and others can react and reply without ever logging in.

We built exactly that on our blog outofboxxi. It is called the Whisper Wall. It costs nothing to run, needs no server and no coding degree, and went from idea to live page in a few days. This guide walks through every step so you can build your own writing platform, whether it is a wall of whispers, a poetry corner, a reader-stories page or a community notice board.

What you will build

A free, login-free writing platform with: instant posting, pastel quote cards, threaded replies, likes, a report button, auto-filtering of bad words, a stable anonymous name per device, reply notifications, a shareable image card and an optional paid tier. Total hosting cost: Rs 0.

The big picture (architecture)

You do not need a database server. Google already gives you one for free: a Google Sheet. Apps Script turns that sheet into a small web API, and your Blogger page talks to it with plain JavaScript.

Architecture: reader browser, Blogger page, Apps Script API, Google Sheet Figure 1: The whole stack. Nothing here needs a paid server.

Step 1: Decide the rules before you write code

Platforms fail on moderation, not on code. Before building, answer three questions:

QuestionOur answer for Whisper Wall
Who can post?Anyone, no login
Approve first or post instantly?Instantly, with an auto-filter, rate limits and a report button
How do people feel safe?No account, no real name, a stable anonymous nickname per device
Why instant posting? Waiting for approval kills the magic. Writers want to see their words appear right away. Filters plus a report button give you safety without the delay.

Step 2: Create the Google Sheet (your database)

Create a new Google Sheet and name it clearly, for example My Wall Data. Add a tab called Posts and another called Comments, with these headers in row 1:

TabColumns
Postsid, time, nickname, text, emoji, likes, reports, status
Commentsid, postId, parentId, time, nickname, text, likes, reports, status

The parentId column is what makes replies-to-replies possible. A top-level comment leaves it blank; a reply stores the id of the comment it answers.

Step 3: Write the Apps Script backend

Open Extensions, then Apps Script inside the sheet. Rename the project straight away (we called ours "Whisper Wall Backend") so you never lose track of it. Here is the heart of it, simplified:

const SS = SpreadsheetApp.getActiveSpreadsheet();
const BAD = ['badword1', 'badword2'];          // your filter list

function doGet(e) {
  const rows = SS.getSheetByName('Posts').getDataRange().getValues();
  const posts = rows.slice(1)
    .filter(r => r[7] === 'live')
    .map(r => ({ id: r[0], time: r[1], nick: r[2], text: r[3], emoji: r[4], likes: r[5] }));
  return ContentService.createTextOutput(JSON.stringify(posts))
    .setMimeType(ContentService.MimeType.JSON);
}

function doPost(e) {
  const d = JSON.parse(e.postData.contents);
  const clean = d.text.toLowerCase();
  if (BAD.some(w => clean.includes(w)) || d.text.length > 600) {
    return out({ ok: false, error: 'Not allowed' });
  }
  SS.getSheetByName('Posts').appendRow([
    Utilities.getUuid(), new Date(), d.nick, d.text, pickEmoji(d.text), 0, 0, 'live'
  ]);
  return out({ ok: true });
}

function out(o) {
  return ContentService.createTextOutput(JSON.stringify(o))
    .setMimeType(ContentService.MimeType.JSON);
}

Then click Deploy, New deployment, Web app, set "Who has access" to Anyone, and copy the web app URL. That URL is your API.

Protect yourself: add a simple rate limit (for example, cache the sender's device id with CacheService and refuse more than a few posts a minute) and use LockService when writing so two simultaneous posts never collide.

Step 4: Build the front end on a Blogger page

In Blogger, go to Pages, New page, switch to HTML view and paste your layout. The page needs only three parts: a text box with a submit button, a feed container, and a script that talks to your API.

<textarea id="txt" maxlength="600" placeholder="Whisper it anonymously..."></textarea>
<button id="send">Whisper it anonymously</button>
<div id="feed"></div>

<script>
const API = 'PASTE_YOUR_WEB_APP_URL';
async function load() {
  const posts = await (await fetch(API)).json();
  feed.innerHTML = posts.reverse().map(p =>
    '<div class="card"><p>' + esc(p.text) + '</p><small>' + esc(p.nick) + '</small></div>').join('');
}
function esc(s){ return s.replace(/[&<>"]/g, c => ({'&':'&amp;','<':'&lt;','>':'&gt;','"':'&quot;'}[c])); }
send.onclick = async () => {
  await fetch(API, { method: 'POST', body: JSON.stringify({ text: txt.value, nick: myNick() }) });
  txt.value = ''; load();
};
load();
</script>
Always escape user text (the esc function above). Without it, a visitor could inject code into your page. This is the single most important security habit on any platform that shows what strangers type.

Step 5: Give every device a stable anonymous name

Random names on every post feel cold. Reddit-style identity feels human: one nickname per device, remembered next time, still with zero login. Store it in the browser:

function myNick() {
  let n = localStorage.getItem('nick');
  if (!n) {
    const a = ['Quiet','Golden','Soft','Midnight','Wandering'];
    const b = ['Owl','River','Comet','Lantern','Sparrow'];
    n = a[Math.random()*a.length|0] + b[Math.random()*b.length|0] + (Math.random()*90+10|0);
    localStorage.setItem('nick', n);
  }
  return n;
}

Step 6: Make it feel alive (engagement features)

A bare feed gets visited once. These features bring people back. We added them one at a time, previewing each before it went live:

FeatureWhat it doesWhy it matters
Pastel quote cardsEach whisper is a soft-coloured cardLooks worth sharing
Surprise emoji stickerEmoji picked from the tone of the textDelight in every post
Threaded repliesReply to posts and to repliesTurns posts into conversations
Likes on posts and commentsOne tap, no loginInstant feedback for writers
Reply badge and optional emailWriters learn when someone answersThe main reason to return
Share as cardBuilds a story-size image to share on WhatsApp, Telegram, Facebook, InstagramFree traffic from every share
Liquid-glass design and soft animationClean, premium lookBuilds trust
Chart of build effort per step in hours Figure 2: The basic platform takes an afternoon. Most time goes into engagement features, which you can add gradually.
Priority matrix of features by effort and impact Figure 3: Start with the green dots, plan the purple ones, add the orange ones when the community has grown.

Step 7: Keep it safe

An open platform needs light but firm guardrails:

RiskDefence
Abusive wordsWord filter in doPost, plus a report button that hides a post after a few reports
Spam floodsRate limit per device with CacheService
Code injectionEscape every piece of user text before showing it
Private dataNever ask for names, phone numbers or emails (email for notifications stays optional and private)
Legal comfortAdd a short rules and privacy note, and a way to contact you for takedowns

Step 8: Earn from it

Two honest routes, and they work well together:

  1. A small paid tier. On Whisper Wall we offer a "Named Voice" upgrade (a display name plus a tag) for Rs 49 for 3 months through a payment form. Approvals are done by hand from the sheet, which is fine at small scale.
  2. Ads. Once the page and the blog bring steady traffic, Google AdSense Auto ads can pay for the effort. We cover the checklist below.
Reality check: do not expect big ad income early. Treat ads as a bonus and focus first on making something people return to. Traffic and trust come first; money follows.

Step 9: SEO and indexing so people can find it

A platform nobody can find is a diary. Do these five things on launch day:

  1. Give the page a clear title and description. In Blogger page settings, add a search description of 150 characters or fewer that says what it is and why to use it.
  2. Add real text above the feed. A short intro paragraph with your main keyword (for example "anonymous writing platform") helps Google understand the page. A feed that loads by JavaScript alone gives crawlers little to read.
  3. Link to it from your menu and posts. Internal links tell Google the page matters. That is why this article links to the Whisper Wall.
  4. Request indexing. In Google Search Console, paste the page URL into the URL Inspection bar and click Request indexing. Also submit your sitemap at /sitemap.xml.
  5. Write about it. A how-to article like this one earns links and searches the page alone never will.

Step 10: Is your blog ready for AdSense?

Before applying, tick these boxes:

CheckWhy
Original, useful posts (a few dozen is a healthy start)Thin or copied content gets rejected
About, Contact and Privacy Policy pagesTrust signals Google looks for
Clean navigation, mobile friendlyPolicy and experience requirement
Moderation of user contentAnonymous platforms must keep out abusive or adult material, or ads can be limited
Your own domain (helpful, not mandatory on Blogger)Often improves approval odds
Owner is 18 or older, one AdSense account per personAccount rules
User-generated pages and ads: Google treats pages where visitors post freely carefully. If you run ads, keep a working report button and active filters, and consider placing Auto ads on your articles rather than on the open feed itself.

Frequently asked questions

Is it really free?

Yes. Blogger, Google Sheets and Apps Script have no cost for a small community. You pay only if you add a custom domain or an AI service.

How many users can it handle?

Apps Script has daily quotas, so it suits small and medium communities. If you outgrow it, the same front end can point to a bigger backend later without redesigning anything.

Can people really stay anonymous?

Readers are never asked for identity, and nicknames live only in their browser. Remember that no system promises perfect anonymity, so say so in your rules.

Can I use this for poetry or stories instead?

Yes. Change the text limit, the card style and the emoji logic, and the same skeleton becomes a poetry corner or a reader-stories page.

Try it, then build yours

The fastest way to understand all of this is to use it. Drop a whisper on the wall, reply to someone, and tap the share icon to see the card builder. Then come back and build your own.

Questions about any step? Ask in the comments below, and tell us what kind of writing platform you plan to build.

Comments

Like ZenByte? There's more on OutOfBoxxi.Free tools, daily reads and an anonymous wall to share what you feel.
Go to OutOfBoxxi ↗