├── .gitignore ├── public └── assets │ ├── icons │ ├── icon.png │ ├── camicon.png │ ├── favicon.ico │ ├── marker-icon.png │ └── marker-shadow.png │ ├── banner │ ├── meta-banner.png │ └── github-banner.png │ ├── leaflet │ └── js │ │ └── map.js │ ├── drag-and-drop.js │ ├── style.css │ └── material │ └── material.min.js ├── config.json ├── package.json ├── remove.js ├── views ├── pages │ ├── donate.ejs │ ├── index.ejs │ ├── success.ejs │ ├── error.ejs │ ├── upload.ejs │ ├── tos.ejs │ └── privacy.ejs └── partials │ ├── footer.ejs │ └── header.ejs ├── scrape.js ├── README.md ├── index.js └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /public/assets/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moom0o/PhotoSphereStudio/HEAD/public/assets/icons/icon.png -------------------------------------------------------------------------------- /public/assets/icons/camicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moom0o/PhotoSphereStudio/HEAD/public/assets/icons/camicon.png -------------------------------------------------------------------------------- /public/assets/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moom0o/PhotoSphereStudio/HEAD/public/assets/icons/favicon.ico -------------------------------------------------------------------------------- /public/assets/banner/meta-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moom0o/PhotoSphereStudio/HEAD/public/assets/banner/meta-banner.png -------------------------------------------------------------------------------- /public/assets/icons/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moom0o/PhotoSphereStudio/HEAD/public/assets/icons/marker-icon.png -------------------------------------------------------------------------------- /public/assets/banner/github-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moom0o/PhotoSphereStudio/HEAD/public/assets/banner/github-banner.png -------------------------------------------------------------------------------- /public/assets/icons/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moom0o/PhotoSphereStudio/HEAD/public/assets/icons/marker-shadow.png -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { 2 | "https": false, 3 | "host": "localhost", 4 | "port": 7000, 5 | "openWebBrowser": false, 6 | "clientId": "XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com", 7 | "clientSecret": "XXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXX" 8 | } 9 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "photospherestudio", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [], 10 | "author": "moo", 11 | "license": "ISC", 12 | "dependencies": { 13 | "body-parser": "^1.20.1", 14 | "cookie-parser": "^1.4.6", 15 | "ejs": "^3.1.9", 16 | "exif-js": "^2.3.0", 17 | "express": "^4.18.2", 18 | "express-fileupload": "^1.4.0", 19 | "open": "^8.4.0", 20 | "puppeteer": "^24.29.1", 21 | "request": "^2.88.2", 22 | "serve-favicon": "^2.5.0", 23 | "sqlite3": "^5.1.7", 24 | "unirest": "^0.6.0" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /remove.js: -------------------------------------------------------------------------------- 1 | const sqlite3 = require('sqlite3'); 2 | const fs = require('fs'); 3 | const db = new sqlite3.Database('published.db'); 4 | db.run("CREATE TABLE IF NOT EXISTS points (url TEXT, lat LONG, long LONG, UNIQUE(url))"); 5 | // Prevent corruption 6 | db.run('PRAGMA synchronous=FULL') 7 | db.run('PRAGMA count_changes=OFF') 8 | db.run('PRAGMA journal_mode=DELETE') 9 | db.run('PRAGMA temp_store=DEFAULT') 10 | const urlsToProcess = JSON.parse(fs.readFileSync("tao_photospheres.json")) 11 | 12 | urlsToProcess.forEach((url) => { 13 | console.log(url.url); 14 | db.serialize(function () { 15 | let stmt = db.prepare(`DELETE FROM points WHERE url = '${url.url}';`); 16 | stmt.run(); 17 | stmt.finalize(); 18 | }); 19 | }) 20 | -------------------------------------------------------------------------------- /views/pages/donate.ejs: -------------------------------------------------------------------------------- 1 | <%- include('../partials/header'); %> 2 | 3 |
Find this service useful? Consider donating!
7 |37UFXbEqWiixvMDfooL9BsSD9mU3ZzRxKg
9 |49aXC8ZatrK4MrQXeSpUGsYk5HKLpeuhTZKMW8MtXuXxhNob8rQQBrkRj471Zv4ZNoCu6teYwsMy42HznLp6grCt1AUDCrW
11 |Consider BuyVM! Their policy is very lenient, and they even allow running exit nodes. Consider using my referral link: https://my.frantech.ca/aff.php?aff=4697
14 |Use the button below to authenticate your google account in order to use the service.
7 | 8 |
9 |
10 | 12 | <%= status %> 13 |
14 | 15 |16 | Your 360 image has been published to Google Street View! Click on the link below to view the image! 17 |
18 | 19 |<%= response %>
33 |