• This repository has been archived on 26/Jun/2022
  • Stars
    star
    110
  • Rank 309,719 (Top 7 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created almost 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This used to be the code for my personal website, but I've since rewritten everything. The old code lives here as a relic of the past.

cadence.moe

My website of utilities, including a YouTube player, image hosting, URL shortening, and a pastebin.

TODOs

  • Finish implementing YouTube playlists
  • Add API request ranges

Contributing

Got a bone to pick? Found a bug? Please, start a pull request or open an issue. I won't hurt you.

If you'd rather not share your thoughts with the entire world, you can talk to me privately using any of the details from the contact page.

If you're planning on writing some code of your own, please read a couple of paragraphs down in this document.

Running your own instance

  • Clone the repo
  • npm install
  • Create db/main.db according to the schema in db/main-schema.sql. db/old.db, an old version of the database, is also available, but note that modifications would be needed to use it with the current code.
  • Create auth.json with the content {"yt_api_key": "blah"} replacing blah with an actual YouTube API key.
  • If you want to use HTTPS, first obtain a Let's Encrypt certificate, then change hostnames in index.js. If you don't want to use HTTPS or just want to run the site behind a LAN, you don't have to change the hostname.
  • Again, for HTTPS only, set your server's IP address at the bottom of index.js.
  • Set the ports to use at the top of index.js.
  • Change the contact details and crypto address in html/about/contact.html. Or don't, if you want people to send money to me instead of to you. Haha, who am I kidding. Nobody will ever send me money.

File organisation

Directory Purpose
api API modules
content User-submitted content
db Database files
html Files to give direct access to. URL aliases and templates are set in index.js
html/images Pages for the image hosting portion of the site
html/fonts Font files and small image files
templates Templates to apply to HTML files
util Server utilities needed in more than one file

More Repositories

1

powercord-plugin-updater

A Powercord plugin. Update other plugins that have been cloned from git.
JavaScript
9
star
2

invidious-switcher

Monitor Invidious instances and automatically route requests through the best one.
JavaScript
6
star
3

powercord-install-from-link

A Powercord plugin. Right click a GitHub plugin link to install it.
JavaScript
6
star
4

youtubedl-invidious

Wrap youtube-dl in the Invidious API
JavaScript
5
star
5

dbcord

A relational database stored as Discord messages.
JavaScript
5
star
6

racket-socks5

SOCKS5 TCP Client in Racket
Racket
3
star
7

powercord-blurnsfw

A Powercord plugin. Blur images in NSFW channels unless they are hovered or clicked.
JavaScript
3
star
8

ytdl-core-discord

A ytdl-core wrapper focused on efficiency for use in Discord music bots
JavaScript
3
star
9

powercord-development-kit

A Powercord plugin. Expose useful functions to ease plugin development with Powercord.
JavaScript
3
star
10

powercord-server-info

A Powercord plugin. Get information about a server that you're in.
JavaScript
3
star
11

powercord-context-plus

A powercord plugin. Make some context menus more sensible.
JavaScript
3
star
12

mkx-browser

Browse, tag, and search Mario Kart Wii custom tracks.
JavaScript
3
star
13

powercord-remove-role-permissions

A Powercord plugin. Click a button to quickly remove all permissions from a role.
JavaScript
3
star
14

invidiojs

A basic re-implementation of the Invidious API in node.js
JavaScript
2
star
15

powercord-pcss

A Powercord plugin. Theme imported components with PCSS.
JavaScript
2
star
16

pinski

Absolutely awful node.js webserver
JavaScript
2
star
17

powercord-doubleClickVoice

A Powercord plugin. Require double clicking a voice channel to enter it.
JavaScript
2
star
18

powercord-voice-screen-share

A Powercord plugin. Ctrl-click a voice channel to activate screen share.
JavaScript
2
star
19

powercord-collapse-folders

A Powercord plugin. Press Ctrl-Alt-A to collapse or expand all server folders.
JavaScript
2
star
20

frisky-client

Frisky Radio API.
JavaScript
1
star
21

bibliogram-updater

A collection of scripts to easily install and update Bibliogram.
Shell
1
star
22

botrac4r

The Discord bot to succeed botrac3r
JavaScript
1
star
23

powercord-reverse-image-search

A Powercord plugin. Right click an image to search for it.
JavaScript
1
star
24

powercord-quick-react

A Powercord plugin. Quickly add preset reactions to messages.
JavaScript
1
star
25

powercord-store-image

A Powercord plugin. Add static images to the GIF picker. You can right click them or use the storeimage command.
JavaScript
1
star
26

powercord-name-contrast

A Powercord plugin. Replace bad contrast message authors and mentions.
JavaScript
1
star