LuluStream-Embeds-NoAds
Another open-source, serverless Node.js proxy that removes ads from "LuluStream" embeds. Just pass the video ID via "/embed?id=" and get a clean iframe-ready to use on your site. Fast, lightweight, no registration, and deployable anywhere.
/api/index.js
module.exports = async (req, res) => {
res.setHeader("Content-Type", "text/html");
res.status(200).send(`
<!DOCTYPE html>
<html lang="ro">
<head>
<meta charset="UTF-8">
<title>LuluStream-Embeds-NoAds by ScriptSRC</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
background-color: #f6f8fa;
color: #171c24;
display: flex;
justify-content: center;
align-items: center;
}
.content-wrapper {
background: #fff;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
max-width: 600px;
width: 100%;
box-sizing: border-box;
text-align: center;
margin: 20px;
}
.section-title {
font-size: 2rem;
margin-bottom: 1rem;
color: #0366d6;
}
.script-info p {
margin-bottom: 1rem;
line-height: 1.6;
}
.script-info code {
background-color: #eaeef2;
padding: 0.2rem 0.5rem;
border-radius: 4px;
font-family: monospace;
}
.script-info a {
color: #0366d6;
text-decoration: none;
}
.script-info a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="content-wrapper">
<h1 class="section-title">LuluStream-Embeds-NoAds</h1>
<div class="script-info">
<p>This proxy was proudly created by <strong><a href="https://scriptsrc.com" target="_blank">ScriptSRC.com</a></strong> to remove advertisements from LuluStream embed players.</p
<p>To use it, simply append the target embed URL to the <strong>/embed?id=</strong> endpoint. For example: <strong><a href="https://lulu-stream-embeds-no-ads-demo.vercel.app/embed?id=l3olz14aqq7p" target="_blank">/embed?id=l3olz14aqq7p</a></strong> will return a clean, ad-free video player.</p>
</div>
</div>
</body>
</html>
`);
};
/api/embed.js
const axios = require("axios");
const cheerio = require("cheerio");
/**
* @param {import('@vercel/node').VercelRequest} req
* @param {import('@vercel/node').VercelResponse} res
*/
module.exports = async (req, res) => {
const { id } = req.query;
if (!id) {
return res.status(400).send("Missing ID");
}
const url = `https://luluvdoo.com/d/${id}`;
try {
const response = await axios.get(url, {
headers: {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Language": "en-US,en;q=0.5",
"Accept-Encoding": "gzip, deflate, br",
"Referer": "https://lulustream.com/",
"Origin": "https://lulustream.com",
"Connection": "keep-alive",
"Upgrade-Insecure-Requests": "1",
"Sec-Fetch-Dest": "document",
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-Site": "cross-site",
"Sec-Fetch-User": "?1"
}
});
const $ = cheerio.load(response.data);
const iframe = $("iframe").first();
const pageTitle = $("title").text().trim() || "LuluStream-Embeds-NoAds made by ScriptSRC.com";
if (!iframe.length) {
return res.status(404).send("The iframe was not found.");
}
iframe.attr("sandbox", "allow-same-origin allow-scripts");
res.setHeader("Content-Type", "text/html");
res.send(`
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>${pageTitle}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body, html {
margin: 0;
padding: 0;
height: 100%;
background: #000;
}
iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>
<body>
${$.html(iframe)}
</body>
</html>
`);
} catch (error) {
console.error("Proxy error:", error.message);
res.status(500).send("Error processing URL.");
}
};
package.json
{
"name": "LuluStream-Embeds-NoAds",
"version": "1.0.0",
"description": "Simple proxy for lulustream embeds to remove ads",
"main": "api/embed.js",
"scripts": {
"start": "vercel dev"
},
"dependencies": {
"axios": "^1.6.0",
"cheerio": "^1.0.0-rc.12"
}
}
vercel.json
{
"version": 2,
"builds": [
{
"src": "api/embed.js",
"use": "@vercel/node"
},
{
"src": "api/index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/embed",
"dest": "/api/embed.js"
},
{
"src": "/",
"dest": "/api/index.js"
}
]
}
Procfile
web: node api/index.js
README.md
# LuluStream-Embeds-NoAds
**LuluStream-Embeds-NoAds** is a minimalist, serverless proxy built with **Node.js**, leveraging **Axios** and **Cheerio** to fetch and sanitize video embed content from **LuluStream**. Its goal is simple yet powerful: strip all ads from embedded players, returning a clean and safe iframe for use on any website or application.
> ๐ **This repository serves for promotion only. For full access to the source code, documentation, and updates, please visit the official website: [scriptsrc.com](https://scriptsrc.com/scripts/lulustream-embeds-noads/)**
---
## ๐ How It Works
1. Send a request to the endpoint:
```
/embed?id=l3olz14aqq7p
```
2. The proxy fetches and processes the embed content.
3. It returns a clean, ad-free iframe ready for direct use.
---
## โ
Key Features
- ๐ฏ **Ad-Free Playback** โ removes all third-party ads automatically
- ๐ **Secure** โ uses `sandbox="allow-scripts allow-same-origin"` for safe embedding
- โก **Serverless Ready** โ instantly deployable to Vercel, Railway, or Render
- ๐งฉ **No Auth or Database** โ works with public embed URLs only
- ๐งฑ **Open-Source and Customizable** โ simple source code, easy to adapt
---
## ๐งช Example Usage
```
https://lulu-stream-embeds-no-ads-demo.vercel.app/embed?id=l3olz14aqq7p
```
> โ
Output: Clean HTML with only the video iframe
---
## ๐ ๏ธ Tech Stack
- **Language:** JavaScript (Node.js)
- **Runtime:** Serverless or traditional Node.js environment
- **Dependencies:** [axios](https://www.npmjs.com/package/axios), [cheerio](https://www.npmjs.com/package/cheerio)
---
## ๐ฅ Download & Documentation
๐ **The full source code, installation guide, and updates are available exclusively at:**
๐ [https://scriptsrc.com](https://scriptsrc.com/scripts/lulustream-embeds-noads/)
---
## โ ๏ธ Disclaimer
This tool is intended strictly for educational and development use. It does not bypass paywalls or DRM systems. Always use responsibly and comply with third-party terms of service and copyright laws.
---
## ๐ฃ Support & Contact
For support, suggestions, or inquiries, please use the contact section on the official website or open a ticket there.
---
**๐ Official Website:** [https://scriptsrc.com](https://scriptsrc.com)