Ryujinx LDN website source code
Go to file
TSRBerry d0ab84a254
Switch to TypeScript and express & Add stats API (#1)
* Switch to node package

Setup environment for:
- Typescript
- express with ejs as the view engine

* Apply prettier formatting

* Read API stats from Redis

* Apply prettier formatting

* Add Dockerfile

* Add environment variables for configuration to README.md

* Log redis errors correctly

* Connect to redis before executing requests

* Rename json properties to match the current ones

* Configure Redis error handler and client correctly

* Remove workflow to fix pnpm dependencies

GitHub supports pnpm for dependabot natively now:
https://github.blog/changelog/2023-06-12-dependabot-version-updates-now-supports-pnpm/

* Add REDIS_SOCKET env var and prefer it over REDIS_URL

* Add default.nix

* Add SOCKET_PATH env var and prefer it over HOST and PORT

* Bump website version

* Add node symlink to output directory

* Add DATA_PATH env var

* Apply prettier formatting

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-02 04:05:12 +02:00
.github Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
data Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
public Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
src Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
.dockerignore Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
.eslintignore Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
.eslintrc.js Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
.gitignore Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
.nvmrc Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
.prettierignore Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
.prettierrc.json Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
default.nix Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
Dockerfile Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
LICENSE Add LICENSE 2023-04-23 17:27:54 +02:00
nodemon.json Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
package.json Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
pnpm-lock.yaml Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
README.md Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00
tsconfig.json Switch to TypeScript and express & Add stats API (#1) 2023-07-02 04:05:12 +02:00


Ryujinx
Ryujinx
(REE-YOU-JINX)

Discord

Configuration

This app can be configured using the following environment variables:

Name Description Default value Notes
NODE_ENV This should be set to production or development depending on the current environment. ""
DATA_PATH The path to the data directory of this server. "data" This can either be a relative path or an absolute path. Currently this directory only contains the log file.
SOCKET_PATH The path to the unix socket this server should be listening on. "" If this is not empty HOST and PORT will be ignored.
HOST The address this server should be listening on. "127.0.0.1"
PORT The port this server should be using. 3000
REDIS_URL The URL of the redis server. "" Format: redis[s]://[[username][:password]@][host][:port][/db-number]
REDIS_SOCKET The path to the unix socket of the redis server. "" If this is not empty REDIS_URL will be ignored.

Contribute

Development

We do encourage you talk to some devs in #development (on our Discord) before developing any PRs so we can make sure you aren't conflicting with another dev's plans, and so we can help you get accustomed to our code base and methods.

Contact

If you have contributions, suggestions, need website support or just want to get in touch with the team, join our Discord server.

Donations

If you'd like to support the project financially, Ryujinx has an active Patreon campaign.

patreon

All developers working on the project do so in their free time, but the project has several expenses:

  • Hackable Nintendo Switch consoles to reverse-engineer the hardware
  • Additional computer hardware for testing purposes (e.g. GPUs to diagnose graphical bugs, etc.)
  • Licenses for various software development tools (e.g. Jetbrains, IDA)
  • Web hosting and infrastructure maintenance (e.g. LDN servers)

All funds received through Patreon are considered a donation to support the project. Patrons receive early access to progress reports and exclusive access to developer interviews.

License

This software is licensed under the terms of the MIT license.