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
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.
Step 1: Decide the rules before you write code
Platforms fail on moderation, not on code. Before building, answer three questions:
| Question | Our 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 |
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:
| Tab | Columns |
|---|---|
| Posts | id, time, nickname, text, emoji, likes, reports, status |
| Comments | id, 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.
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 => ({'&':'&','<':'<','>':'>','"':'"'}[c])); }
send.onclick = async () => {
await fetch(API, { method: 'POST', body: JSON.stringify({ text: txt.value, nick: myNick() }) });
txt.value = ''; load();
};
load();
</script>
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:
| Feature | What it does | Why it matters |
|---|---|---|
| Pastel quote cards | Each whisper is a soft-coloured card | Looks worth sharing |
| Surprise emoji sticker | Emoji picked from the tone of the text | Delight in every post |
| Threaded replies | Reply to posts and to replies | Turns posts into conversations |
| Likes on posts and comments | One tap, no login | Instant feedback for writers |
| Reply badge and optional email | Writers learn when someone answers | The main reason to return |
| Share as card | Builds a story-size image to share on WhatsApp, Telegram, Facebook, Instagram | Free traffic from every share |
| Liquid-glass design and soft animation | Clean, premium look | Builds trust |
Step 7: Keep it safe
An open platform needs light but firm guardrails:
| Risk | Defence |
|---|---|
| Abusive words | Word filter in doPost, plus a report button that hides a post after a few reports |
| Spam floods | Rate limit per device with CacheService |
| Code injection | Escape every piece of user text before showing it |
| Private data | Never ask for names, phone numbers or emails (email for notifications stays optional and private) |
| Legal comfort | Add 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:
- 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.
- Ads. Once the page and the blog bring steady traffic, Google AdSense Auto ads can pay for the effort. We cover the checklist below.
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:
- 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.
- 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.
- 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.
- 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. - 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:
| Check | Why |
|---|---|
| Original, useful posts (a few dozen is a healthy start) | Thin or copied content gets rejected |
| About, Contact and Privacy Policy pages | Trust signals Google looks for |
| Clean navigation, mobile friendly | Policy and experience requirement |
| Moderation of user content | Anonymous 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 person | Account rules |
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
Post a Comment
If you have any suggestions let me know...