Skip to content

Create Elite Dangerous commodity market alerts for my Discord community, modified for use on our Linux host.

Notifications You must be signed in to change notification settings

GitKageHub/edalerts

 
 

Repository files navigation

edalerts

Create Elite Dangerous commodity market alerts. Get notified when a specific commodity buys or sells above or below a certain value.

Screenshot 2025-02-26 at 14 26 55

Deployment

The simplest way to deploy the app is via Docker compose. In the supplied docker-compose.yml, update the SITE_URL variables to match the hostname of your site, and the NEXT_PUBLIC_API_BASE variable to match the hostname of your API. Then simply run the command:

docker compose up

Details

There are 4 components:

  1. Web front-end – the interface used to create/delete alerts
  2. API – receives requests from the web interface and saves changes to the database
  3. Market listener – listents to the EDDN and sends alerts based on incoming market messages
  4. MongoDB – database

Web front-end

Can be started from the site directory with yarn build & yarn start

Requires the NEXT_PUBLIC_API_BASE environment variable containing the URL on which the API service is reachable, e.g. http://localhost:3001.

API & market listener

Can be started from the api directory with yarn start & yarn listen respectively. There are also Dockerfiles for both services.

Both services require the MONGO_URL environment variable.

Resources

About

Create Elite Dangerous commodity market alerts for my Discord community, modified for use on our Linux host.

Topics

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 98.3%
  • Dockerfile 1.7%