Skip to content

Commit b119d0c

Browse files
committed
Cleanup & Combine all repo's (DBC)
1 parent 5d0e496 commit b119d0c

File tree

597 files changed

+72355
-41
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

597 files changed

+72355
-41
lines changed

Diff for: .nojekyll

-1
This file was deleted.

Diff for: extension/images/128.jpg renamed to 128.jpg

File renamed without changes.

Diff for: extension/images/128.png renamed to 128.png

File renamed without changes.

Diff for: extension/images/16.jpg renamed to 16.jpg

File renamed without changes.

Diff for: extension/images/16.png renamed to 16.png

File renamed without changes.

Diff for: extension/images/256.jpg renamed to 256.jpg

File renamed without changes.

Diff for: extension/images/256.png renamed to 256.png

File renamed without changes.

Diff for: extension/images/32.jpg renamed to 32.jpg

File renamed without changes.

Diff for: extension/images/32.png renamed to 32.png

File renamed without changes.

Diff for: extension/images/48.jpg renamed to 48.jpg

File renamed without changes.

Diff for: extension/images/48.png renamed to 48.png

File renamed without changes.

Diff for: extension/images/96.jpg renamed to 96.jpg

File renamed without changes.

Diff for: extension/images/96.png renamed to 96.png

File renamed without changes.

Diff for: LCP.DBC.html

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<body>
4+
<div id="app-mount"></div>
5+
<script>
6+
window.__OVERLAY__ = /overlay/.test(location.pathname);
7+
window.__BILLING_STANDALONE__ = /^\/billing/.test(location.pathname);
8+
window.GLOBAL_ENV = {
9+
API_ENDPOINT: "//" + window.location.host + '/d/api',
10+
API_VERSION: 9,
11+
GATEWAY_ENDPOINT: 'wss://gateway.discord.gg',
12+
WEBAPP_ENDPOINT: "//" + window.location.host,
13+
CDN_HOST: 'cdn.discordapp.com',
14+
ASSET_ENDPOINT: "//" + window.location.host,
15+
MEDIA_PROXY_ENDPOINT: '//media.discordapp.net',
16+
WIDGET_ENDPOINT: '//discord.com/widget',
17+
INVITE_HOST: 'discord.gg',
18+
GUILD_TEMPLATE_HOST: 'discord.new',
19+
GIFT_CODE_HOST: 'discord.gift',
20+
RELEASE_CHANNEL: 'canary',
21+
MARKETING_ENDPOINT: '//discord.com',
22+
BRAINTREE_KEY: 'production_5st77rrc_49pp2rp4phym7387',
23+
STRIPE_KEY: 'pk_live_CUQtlpQUF0vufWpnpUmQvcdi',
24+
NETWORKING_ENDPOINT: '//router.discordapp.net',
25+
RTC_LATENCY_ENDPOINT: '//latency.discord.media/rtc',
26+
ACTIVITY_APPLICATION_HOST: 'discordsays.com',
27+
PROJECT_ENV: 'production',
28+
REMOTE_AUTH_ENDPOINT: '//remote-auth-gateway.discord.gg',
29+
SENTRY_TAGS: {"buildId":"7956ae0a7fef17564b5e718757ad1a38d2322063","buildType":"normal"},
30+
MIGRATION_SOURCE_ORIGIN: 'https://discord.com',
31+
MIGRATION_DESTINATION_ORIGIN: window.location.protocol + "//" + window.location.host,
32+
HTML_TIMESTAMP: Date.now(),
33+
ALGOLIA_KEY: 'aca0d7082e4e63af5ba5917d5e96bed0',
34+
};
35+
const localStorage = window.localStorage;
36+
</script>
37+
<script src="/assets/d170d5b12b302f315912.js"></script>
38+
<script src="/assets/35e0115547d406ec0d20.js"></script>
39+
<script src="/assets/be358c929d9afee6527f.js"></script>
40+
<script src="/assets/ac07c15f13e50948a1b2.js"></script>
41+
</body>
42+
</html>

Diff for: LCP.DBC.js

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
const express = require("express");
2+
const fs = require("fs");
3+
const path = require("path");
4+
const request = require("request");
5+
const app = express();
6+
const indexHTML = fs.readFileSync(path.join(__dirname, "LCP.DBC.html"), { encoding: "utf8" });
7+
const html = indexHTML;
8+
app.all('/d/*', function(req, res) {
9+
const str = req.originalUrl;
10+
const trs = str.slice('\x32');
11+
req.pipe(request("https://discord.com" + trs)).pipe(res);
12+
});
13+
app.all('/sticker*', function(req, res) {
14+
const str = req.originalUrl;
15+
const trs = str;
16+
req.pipe(request("https://discord.com" + trs)).pipe(res);
17+
});
18+
app.all('/asset*', function(req, res) {
19+
const str = req.originalUrl;
20+
const trs = str;
21+
req.pipe(request("https://discord.com" + trs)).pipe(res);
22+
});
23+
app.all("*", (req, res) => {
24+
res.send(html);
25+
});
26+
app.listen(2022);

Diff for: Lightcord/.editorconfig

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
curly_bracket_next_line = false
11+
spaces_around_operators = true
12+
13+
[*.{js,ts}]
14+
quote_type = double
15+
16+
[*.{markdown,md}]
17+
trim_trailing_whitespace = false
18+
19+
[*.tsv]
20+
indent_style = tab
21+
22+
[*.yml]
23+
indent_size = 2

Diff for: Lightcord/.gitattributes

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
* text=auto
2+
*.json text eol=lf
3+
*.js text eol=lf
4+
*.ts text eol=lf
5+
*.patch text eol=lf
6+
*.yml text eol=lf
7+
*.yaml text eol=lf
8+
*.jsx text eol=lf
9+
*.html text eol=lf
10+
*.htm text eol=lf

Diff for: Lightcord/.gitignore

+132
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Microbundle cache
57+
.rpt2_cache/
58+
.rts2_cache_cjs/
59+
.rts2_cache_es/
60+
.rts2_cache_umd/
61+
62+
# Optional REPL history
63+
.node_repl_history
64+
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
72+
.env
73+
.env.test
74+
75+
# parcel-bundler cache (https://parceljs.org/)
76+
.cache
77+
78+
# Next.js build output
79+
.next
80+
81+
# Nuxt.js build / generate output
82+
.nuxt
83+
dist
84+
85+
# Gatsby files
86+
.cache/
87+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88+
# https://nextjs.org/blog/next-9-1#public-directory-support
89+
# public
90+
91+
# vuepress build output
92+
.vuepress/dist
93+
94+
# Serverless directories
95+
.serverless/
96+
97+
# FuseBox cache
98+
.fusebox/
99+
100+
# DynamoDB Local files
101+
.dynamodb/
102+
103+
# TernJS port file
104+
.tern-port
105+
106+
# no build on github
107+
builds
108+
109+
# must build typescript itself
110+
dist
111+
112+
distApp
113+
114+
# discord_voice debug
115+
discord-last-webrtc_0
116+
discord-webrtc_0
117+
118+
# macOS Stuff
119+
.DS_Store
120+
121+
# VS Code stuff
122+
.vscode
123+
124+
# Compiled JS files
125+
LightcordApi/js
126+
DiscordJS/js
127+
BetterDiscordApp/dist
128+
129+
downloaded_modules
130+
workspace_modules
131+
new_modules_version.json
132+
modules/discord_utils/live_minidump.dmp

Diff for: Lightcord/.travis.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
language: node_js
2+
node_js: "12"
3+
before_install:
4+
- npm i
5+
6+
jobs:
7+
include:
8+
- stage: Linux & Mac Build
9+
os: osx
10+
osx_image: xcode10.2
11+
env:
12+
- ELECTRON_CACHE=$HOME/.cache/electron
13+
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
14+
before_cache:
15+
- rm -rf $ELECTRON_BUILDER_CACHE/wine
16+
script:
17+
- npm run devInstall
18+
- npm run build
19+
# - stage: Windows Build
20+
# os: windows
21+
# script:
22+
# - export NPM_CONFIG_PREFIX=C:\\npm_prefix
23+
# - export PATH="/c/npm_prefix:$PATH"
24+
# - npm i -g npm@latest
25+
# - npm run devInstall
26+
# - npm run build
27+
# - stage: GitHub Release
28+
# script:
29+
# - export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
30+
# - git tag $TRAVIS_TAG
31+
# deploy:
32+
# provider: releases
33+
# prerelease: true
34+
# api_key: "$GH_TOKEN"
35+
# cleanup: false
36+
# file:
37+
# - builds/lightcord-win32-ia32.zip
38+
# - builds/lightcord-win32.exe
39+
# - builds/lightcord-linux-x64.zip
40+
# - builds/lightcord-darwin.zip
41+
# on:
42+
# tags: true

Diff for: Lightcord/BetterDiscordApp/.eslintrc

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"extends": ["eslint:recommended", "plugin:react/recommended"],
3+
"plugins": [
4+
"react"
5+
],
6+
"env": {
7+
"browser": true,
8+
"node": true,
9+
"jquery": true
10+
},
11+
"parserOptions": {
12+
"ecmaVersion": 8,
13+
"sourceType": "module",
14+
"ecmaFeatures": {
15+
"jsx": true
16+
}
17+
},
18+
"rules": {
19+
"semi": 2,
20+
"space-infix-ops": ["error", {"int32Hint": false}],
21+
"quotes": ["error", "double", {"allowTemplateLiterals": true}],
22+
"no-console": 0,
23+
"brace-style": ["error", "stroustrup", {"allowSingleLine": true}],
24+
"keyword-spacing": 2,
25+
"no-else-return": 2,
26+
"curly": ["error", "multi-line", "consistent"],
27+
"dot-notation": 2,
28+
"yoda": 2,
29+
"linebreak-style": ["error", "windows"],
30+
"quote-props": ["error", "consistent-as-needed", {"keywords": true}],
31+
"object-curly-spacing": ["error", "never", { "objectsInObjects": false }],
32+
"no-var": "error",
33+
"prefer-const": "error",
34+
"react/jsx-uses-react": "error",
35+
"react/jsx-uses-vars": "error",
36+
"react/prop-types": "off",
37+
"react/jsx-no-target-blank": "error",
38+
"react/jsx-key": "off"
39+
},
40+
"globals": {
41+
"webpackJsonp": false,
42+
"Proxy": false,
43+
"Set": false,
44+
"WeakMap": false,
45+
"Promise": false,
46+
"ace": false,
47+
"Reflect": false,
48+
"Array": false,
49+
"DiscordNative": false,
50+
"self": "off",
51+
"name": "off",
52+
"__non_webpack_require__": false
53+
}
54+
}

Diff for: Lightcord/BetterDiscordApp/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Diff for: Lightcord/BetterDiscordApp/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2015-present Jiiks | 2017-present Zack Rauen | 2020-present Lightcord
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Diff for: Lightcord/BetterDiscordApp/README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Disclaimer
2+
BandagedBD from Lightcord is a fork from the original BandagedBD (https://github.com/rauenzi/BetterDiscordApp).
3+
If a bug happens on the lightcord version, please report on Lightcord repo. If it applies as well on BandagedBD, please report it too on https://github.com/rauenzi/BetterDiscordApp/issues.
4+
5+
Lightcord does not own the code at https://github.com/rauenzi/BetterDiscordApp. It only owns the modifications that were added here.
6+
7+
# BandagedBD [![Patreon][patreon-badge]][patreon-link] [![Paypal][paypal-badge]][paypal-link]
8+
[patreon-badge]: https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.herokuapp.com%2FZerebos&style=flat-square
9+
[patreon-link]: https://patreon.com/Zerebos
10+
11+
[paypal-badge]: https://img.shields.io/badge/Paypal-Donate!-%2300457C.svg?logo=paypal&style=flat-square
12+
[paypal-link]: https://paypal.me/ZackRauen
13+
14+
BandagedBD (Bandaged BetterDiscord) is a fork of the original [BetterDiscord](https://github.com/Jiiks/BetterDiscordApp) by Jiiks. This has a number of improvements over the original. The original version has been unmaintained hence this fork existing. There have been attempts to rewrite the original that I have been and will continue to be involved in, but in the meantime I will continue to maintain and improve BBD.
15+
16+
# FAQ
17+
18+
### What is this?
19+
This is a client modification for Discord. It allows you to add plugins and themes to your client. Plugins can add functionality and useful features. Themes can completely change the look and feel of Discord.
20+
21+
BBD has some other built-in features such as Emotes from Twitch, FFZ, and BBTV, as well as an in-client server browser.
22+
23+
### Where can I get plugins and themes?
24+
In our support servers we have channels with lists of official plugins and themes. Please note we do not have an official listing on a website and are **not affiliated with any of those websites**.
25+
26+
### Support Servers?
27+
There are two: [The main server](https://discord.gg/0Tmfo5ZbORCRqbAd), and [the backup](https://discord.gg/2HScm8j).
28+
29+

0 commit comments

Comments
 (0)