Skip to content

This webapp offers a code-editor to proxy additional JS and CSS into foreign webpages with ease. The Service uses an API from surfly.com. A Heroku-demo is available for this Next.js project. You may render arbitrary JavaScript and CSS-Code into any foreign webpage.

Notifications You must be signed in to change notification settings

stefanibus/ACE_PaneEditorWithMogoDB

Repository files navigation

Web-App to manipulate foreign webpages

Image of Proxy smazy Interface.

Manipulate any static website on the internet

Feel free to contribute and ask questions!

in a nutshell

🚀 Smazy is an Online-Proxy-Service. You may inject additional JavaScript and CSS-Code to any existing static webpage on the internet and enjoy the result. Or forward the result to a friend. ⚡️

  • the web-app offers a JS-/CSS-Editor to enter additional code
  • any code written inside of the code-editor will be to be injected into the foreign page
  • Our webapp uses an API from surfly.com API to proxy the result and render the additional JS into the proxied page
  • the additional js/css-code (comming from the editor) will be rendered into the foreign proxied webpage almost in realtime
  • ✨Magic ✨

build with

  • 🦁 User Management via Fingerprinting
  • 👌 Show Result Preview
  • ↔ Pane Resizing with F11 key
  • 🔥 Next.js for Static Site Generator
  • 🎨 Tailwind CSS (w/ JIT mode)
  • ✏️ Lint](https://eslint.org) (default NextJS, NextJS Core Web Vitals and Airbnb configuration)
  • 🛠 Prettier Code Formatter
  • ☕ Minify HTML & CSS
  • 💨 Live reload
  • ✅ Cache busting

Build Status

Click here for a Demo : on HerokuApp.com.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

caveats

for the proxy-service to work you will need to register with surfly.com and grab an API TOKEN. Also: Bear in mind the JavaScript-Injection will not work on your localhost machine due to CORS-restriction, you may install NGrok to circumvent this restriction. If you merely aim to look at the result without your Injections, that will work via http://localhost

Requirements

  • Node.js and npm

Getting started

.
📦my-code-pen
📦components
 ┣ 📂ManageProject
 ┃ ┗ 📜index.js
 ┣ 📂ManageUser
 ┃ ┗ 📜index.js
 ┣ 📂ShowProjName
 ┃ ┗ 📜index.js
 ┣ 📜Editors.js
 ┣ 📜Editors.module.css
 ┗ 📜TogglePaneView.js
 📦components
 ┣ 📂ManageProject
 ┃ ┗ 📜index.js
 ┣ 📂ManageUser
 ┃ ┗ 📜index.js
 ┣ 📂ShowProjName
 ┃ ┗ 📜index.js
 ┣ 📜Editors.js
 ┣ 📜Editors.module.css
 ┗ 📜TogglePaneView.js
 📦public
 ┣ 📂modal
 ┃ ┣ 📜requestly_insert_content.css
 ┃ ┗ 📜requestly_insert_content.js
 ┣ 📜favicon-32x32_fingerprint.png
 ┣ 📜favicon.ico
 ┣ 📜load_page.html
 ┗ 📜startpage.html
 📦styles
 ┣ 📜globals.css
 ┗ 📜Home.module.css
 📦utils
 ┣ 📜database.js
 ┣ 📜manageProjects.js
 ┣ 📜mongo_communication.js
 ┣ 📜splitpane.js
 ┗ 📜surflyLibary.js
  

Made with ♥ by make-mobile.de

About

This webapp offers a code-editor to proxy additional JS and CSS into foreign webpages with ease. The Service uses an API from surfly.com. A Heroku-demo is available for this Next.js project. You may render arbitrary JavaScript and CSS-Code into any foreign webpage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published