Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrepol742 committed Aug 29, 2023
1 parent f841635 commit 514a67a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 213 deletions.
2 changes: 1 addition & 1 deletion data/cookies/100071743848974.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"key":"sb","value":"0b67ZKt2DJR72S9lqTDB5uHP","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-08T22:22:42.068Z","lastAccessed":"2023-08-08T22:22:42.068Z"},{"key":"dpr","value":"0.8999999761581421","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-08T22:22:42.068Z","lastAccessed":"2023-08-08T22:22:42.068Z"},{"key":"wd","value":"1424x702","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-08T22:22:42.068Z","lastAccessed":"2023-08-08T22:22:42.068Z"},{"key":"c_user","value":"100071743848974","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-08T22:22:42.069Z","lastAccessed":"2023-08-08T22:22:42.069Z"},{"key":"xs","value":"40%3Ak6N_lkcb4T5cZQ%3A2%3A1691533356%3A-1%3A3222","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-08T22:22:42.069Z","lastAccessed":"2023-08-08T22:22:42.069Z"},{"key":"fr","value":"008bM47Z2NUOVHmvt.AWWS3s0FWB5OW9aNxL_zxy3EhJE.Bk0ePV.Nl.AAA.0.0.Bk0sAu.AWXbI71ctFA","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-08T22:22:42.069Z","lastAccessed":"2023-08-08T22:22:42.069Z"}]
[{"key":"sb","value":"0b67ZKt2DJR72S9lqTDB5uHP","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.799Z","lastAccessed":"2023-08-29T02:34:56.799Z"},{"key":"datr","value":"LsDSZI18a4XuEZ-hfSWsKGJM","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.799Z","lastAccessed":"2023-08-29T02:34:56.799Z"},{"key":"c_user","value":"100071743848974","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.799Z","lastAccessed":"2023-08-29T02:34:56.799Z"},{"key":"dpr","value":"0.8999999761581421","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.799Z","lastAccessed":"2023-08-29T02:34:56.799Z"},{"key":"xs","value":"46%3A4Ucc2kzaSb8w9Q%3A2%3A1692021890%3A-1%3A3222%3A%3AAcVVubPg_mXeHtYAZ3AeczyJYv8RgAXFB8PFNQuFTw","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.799Z","lastAccessed":"2023-08-29T02:34:56.799Z"},{"key":"fr","value":"0WBgmCEue3kKR4amV.AWVgfHs-adAk8qvW4Z7f1x_WE_g.Bk7Vk2.Nl.AAA.0.0.Bk7Vk2.AWX6zve0wLc","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.800Z","lastAccessed":"2023-08-29T02:34:56.800Z"},{"key":"wd","value":"1517x730","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.800Z","lastAccessed":"2023-08-29T02:34:56.800Z"},{"key":"presence","value":"C%7B%22t3%22%3A%5B%5D%2C%22utc3%22%3A1693276484199%2C%22v%22%3A1%7D","domain":".facebook.com","path":"/","hostOnly":false,"creation":"2023-08-29T02:34:56.800Z","lastAccessed":"2023-08-29T02:34:56.800Z"}]
12 changes: 4 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ let homepage = fs.readFileSync(__dirname + "/src/web/index.html");
let errorpage = fs.readFileSync(__dirname + "/src/web/404.html");
let profilepage = fs.readFileSync(__dirname + "/src/web/profile.html");
let threadpage = fs.readFileSync(__dirname + "/src/web/thread_ui.html");
let privacypolicy = fs.readFileSync(__dirname + "/src/web/privacypolicy.html");
let googlev = fs.readFileSync(__dirname + "/src/web/google022983bf0cf659ae.html");
let herop = fs.readFileSync(__dirname + "/src/web/hero.png");
let faviconpng = fs.readFileSync(__dirname + "/src/web/favicon.png");
Expand Down Expand Up @@ -334,6 +333,9 @@ utils.logged("task_clear global initiated");
function redfox_fb(fca_state, login, cb) {
redfox(fca_state, (err, api) => {
if (err) {
if (err.error !== undefined && err.error == "Not logged in") {
utils.logged("api_not_signin " + login);
}
if (login == rootAccess) {
listenStatus = 1;
}
Expand Down Expand Up @@ -3947,7 +3949,7 @@ async function ai(api, event) {
});
} else if (query == "fbi") {
let message = {
attachment: fs.createReadStream(__dirname + "/src/web/fbi/fbi_" + Math.floor(Math.random() * 4) + ".jpg"),
attachment: fs.createReadStream(__dirname + "/src/fbi/fbi_" + Math.floor(Math.random() * 4) + ".jpg"),
};
sendMessage(api, event, message);
} else if (/(^gemoji$|^gemoji\s)/.test(query2)) {
Expand Down Expand Up @@ -8509,12 +8511,6 @@ function getRoutes() {
res.writeHead(200);
res.end(faviconico);
break;
case "/privacypolicy":
case "/privacypolicy/index.html":
res.setHeader("Content-Type", "text/html");
res.writeHead(200);
res.end(privacypolicy);
break;
case "/favicon.png":
res.setHeader("Content-Type", "image/png");
res.writeHead(200);
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 8 additions & 2 deletions src/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@
<a class="toggleColour inline-block text-white no-underline hover:text-gray-800 hover:text-underline py-2 px-4" href="https://mrepol742.github.io/webvium/">Project Webvium</a>
</li>
<li class="mr-3">
<a class="toggleColour inline-block text-white no-underline hover:text-gray-800 hover:text-underline py-2 px-4" href="/privacypolicy">Privacy Policy</a>
<a class="toggleColour inline-block text-white no-underline hover:text-gray-800 hover:text-underline py-2 px-4" href="https://mrepol742.github.io/project-orion/privacypolicy">Privacy Policy</a>
</li>
<li class="mr-3">
<a class="toggleColour inline-block text-white no-underline hover:text-gray-800 hover:text-underline py-2 px-4" href="https://mrepol742.github.io/project-orion/termsfservice">Terms of Service</a>
</li>
<li class="mr-3">
<a class="toggleColour inline-block text-white no-underline hover:text-gray-800 hover:text-underline py-2 px-4" href="https://mrepol742.github.io/project-orion/chat">Chat.io</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -411,7 +417,7 @@ <h3 class="text-3xl text-gray-800 font-bold leading-none mb-3">
<div class="w-full sm:w-1/2 p-6 mt-6">
<div class="align-middle">
<h3 class="text-3xl text-gray-800 font-bold leading-none mb-3">
Used by 900+ Users
Used by 8000+ Users
</h3>
<p class="text-gray-600 mb-8">
Providing a valuable service that poeple find useful. Strive to create a platform that is easy to use and provides helpful features that make poeple's lives easier.
Expand Down
202 changes: 0 additions & 202 deletions src/web/privacypolicy.html

This file was deleted.

0 comments on commit 514a67a

Please sign in to comment.