Neocities.org is a static web hosting platform, meaning it does not support server-side features like databases, PHP, or Node.js. However, there are several clever ways to save or export data without a server.
localStorage
Your browser can store small amounts of data on your computer. This is useful for saving game progress or user preferences on the same device.
Pros: Easy to implement, no server needed.
Cons: Data stays on one device and browser; cannot be shared or synced.
Using JavaScript, you can let users export their data as a .txt
file that they can save anywhere.
Pros: No server required, users control their own files.
Cons: Manual for users; no automatic syncing or cloud storage.
You can integrate with third-party services like GitHub API, Google Sheets, or serverless functions (Netlify, Firebase) to store and sync data. These require additional setup and backend services.
Pros: Cloud sync, multi-device support.
Cons: Complex, requires backend/service accounts, not purely static.
With some backend help (serverless functions, Google Apps Script), you can email data to users. This isn’t directly possible on Neocities but can be combined with other services.
localStorage
— best for personal, single-device use.