jigefo3558/wordpress-time-machine-simulator
0
1```json2{3 "name": "wordpress-time-machine",4 "version": "1.0.0",5 "description": "Desktop app to view old WordPress sites",6 "main": "main.js",7 "scripts": {8 "start": "electron .",9 "build": "electron-builder"10 },11 "author": "",12 "license": "ISC",13 "devDependencies": {14 "electron": "^23.0.0",15 "electron-builder": "^23.6.0"16 },17 "dependencies": {18 "fs-extra": "^11.1.0"19 },20 "build": {21 "appId": "com.example.wordpresstimemachine",22 "productName": "WordPress Time Machine",23 "win": {24 "target": "nsis",25 "icon": "build/icon.ico"26 },27 "mac": {28 "category": "public.app-category.developer-tools",29 "icon": "build/icon.icns"30 },31 "linux": {32 "target": "AppImage",33 "icon": "build/icon.png"34 }35 }36}37```38```39 40Now you'll need to:411. Create these new files (main.js and package.json)422. Run `npm install` to install dependencies433. Run `npm start` to launch the app44 45The app will now:46- Prompt for a storage location on first run47- Save all WordPress sites locally in that folder48- Allow browsing previously saved sites49- Work completely offline without any server50- Maintain all functionality from the original web version51 52You can package it into a distributable app using `npm run build` after development.