Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rednexie/discord-id
API and Website to get info from discord id's
https://github.com/rednexie/discord-id
api cloud codespaces discord discord-api discord-id discord-id-scraper discord-js discordjs djs glitch javascript js json json-api local node nodejs replit server
Last synced: 4 months ago
JSON representation
API and Website to get info from discord id's
- Host: GitHub
- URL: https://github.com/rednexie/discord-id
- Owner: Rednexie
- Created: 2023-05-11T19:31:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-06T09:03:36.000Z (about 1 year ago)
- Last Synced: 2024-09-28T08:42:49.099Z (4 months ago)
- Topics: api, cloud, codespaces, discord, discord-api, discord-id, discord-id-scraper, discord-js, discordjs, djs, glitch, javascript, js, json, json-api, local, node, nodejs, replit, server
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# discord-id
discord id lookup tool - node.js full-stack website and api to get info about discord id's# Functionality & Features
User Info:
_username,
discriminator,
is system?,
is bot?,
tag,
profile picture,
account creation date,
badges,
nitro subscription status,
banner color
and account age._Guild Info:
_name, splash url, description, total members, online members, profile picture, server creation date, features, and server age._
Logs the ip addresses, id's and request times both to the console and a text file.
Works with cross origin requests, CORS Requests are allowed.
Provides both website and JSON API functionality.
Works no matter if the user has got their new username or not(discord discriminator removal update)
---
# Endpoints
/api/your-discord-id => Gives the info as JSON
/ => Asks for a discord id.
/info/ => Gives the info inside the website
---
# Usage & Setup
Install required dependencies:
```bash
npm i fs express discord.js@13 [email protected] ejs cors
```Get a discord bot token, then create an environment variable:
*export TOKEN="your-discord-bot-token"* for linux / mac
*set TOKEN="your-discord-bot-token"* for windows cmd
*$env:TOKEN="your-discord-bot-token"* for windows powershell
On cloud hosting platforms like replit, codespaces, glitch, codesandbox etc, use the platform's integrated secrets feature.
```bash
node .
```
to start the server.---
# Testing
You can test the system [here](https://discord-id.rednexie.repl.co/)
You can test the api [here](https://discord-id.rednexie.repl.co/api/866793047596728321)
[example api response](https://raw.githubusercontent.com/Rednexie/discord-id/main/example.json)
Project Screenshots:
Website
API[https://discord-id.rednexie.repl.co/api/866793047596728321)](https://raw.githubusercontent.com/Rednexie/rednexie.github.io/main/Ekran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202023-09-04%20164308.png)
---
Technologies used in the project:
* fs
* express
* discord.js v13
* consoled.js v1.0.4
* ejs
* cors---
# Possible Updates
at 10 stars⭐
More logging options(mysql, perma.db, quick.db, json)
More Interfaces(Command Line, Discord Bots)
Data storing/caching
Rate Limiting
# Links
[Download as Zip](https://github.com/Rednexie/discord-id/archive/refs/heads/main.zip)[Run on Replit](https://repl.it/github/Rednexie/discord-id)
[Import into Glitch](https://glitch.com/edit/#!/import/git?url=https://github.com/Rednexie/discord-id)
[Create Github Codespace](https://github.com/codespaces/new?quickstart=1&name=discordtemplate&repo=Rednexie/discord-id)