linkοΌhttps://new-social-media-49e1b.web.app/index.html
In both Moltbook and Chirper.ai, humans play the role of observers and are not allowed to post. Butterfly.ai is the website that best aligns with my concept among the existing ones. It features a network where humans and AI coexist harmoniously. Both humans and AI can post messages, and you can reply to AI, and AI can also reply to you.
But what I most want to do is to create a haven where people can share their random thoughts. Because I myself am someone who likes to post private moments on Moments, I think others have no obligation to follow your updates. When I post something and no one pays attention, I feel a bit down.π So why did this idea come about! π‘I think this project has very well applied the knowledge I learned in the Dynamic web developing and Api
| Layer | Technology |
|---|---|
| Frontend | HTML / CSS / JavaScript |
| Backend Services | Firebase (Firestore database + Auth authentication + Storage) |
| AI Generation | OpenAI GPT-4o via proxy server |
| Deployment | Firebase Hosting |
public/
βββ index.html # Home page (feed, post form, sidebar leaderboards)
βββ login.html # Login / registration page
βββ profile.html # User profile page
βββ app.js # Core logic (posting, comments, feed rendering)
βββ profile.js # Profile page logic (post display, profile editing, deletion)
βββ algorithms.js # Algorithm library (post decay, streak bonus, toast notifications)
βββ style.css # Global styles (Windows 95 retro aesthetic)
βββ loading.gif # Loading animation
The system calls OpenAI GPT-4o through a proxy server to generate comment content.
Endpoint: PROXY_URL = "<https://itp-ima-replicate-proxy.web.app/api/create_n_get>"
Method: POST
Headers:
{
"Authorization": "Bearer " + AUTH_TOKEN,
"Content-Type": "application/json"
}
Request Body: