/Discord_OpenGraph_Viewer

Share your discord profile!

Primary LanguageRust

Discord OpenGraph Viewer

This api provide you blazing fast card/link generator with opengraph ingection for sharing your cool discord account

Note before starting setup envs.

Features

  • tracing
  • cache for 1 hour
  • no display only one name if custom name and name is same
  • normal and json type of view

Example

  • profile
    • image
    • with header Accept:"application/json"
    {
        "id": "965639480797184021",
        "avatar": "6d90a6ea41285c836a66ceb7679a1cbc",
        "global_name": "#͡nqcq",
        "username": "towinok",
        "banner_color": "#d5d5d5",
        "bio": "> DevOps & Rust developer.\n\n*Любитель белых-пепельных волос и золото-кровавых глаз*"
    }
  • tracing image

How to use

  • install
    1. Manual.
    • clone repo
    • cd repo-name
    • cargo build --release
    • ./target/release/ds_profile_viewer
    1. Use docker
    • in progress
    1. use docker-compose
    • in progress
    1. download release tag
    • go to latest tag
    • download any zip / or download file
    • unzip zip :) / skip if download file
    • touch wom... .env
    • fill it
    • run it
  • usage http://your-cool-ip:port/id/{id} if you using revers proxy, you know it...

FAQ

  1. Where can I find id?
  • Go to settings (discord)
  • Open Advanced
  • Enable Developer Mode
  • Click on any user
  • 3 dots (for yourself click on user profle. close to settings button.)
  • copy user id
  1. Where can I find token?
  • Go to browser
  • Login to discord at discord web app
  • Go to Dev Tools
  • open network
  • click at all
  • check any packet with Authorization header
  • copy this header
  • paste in .env in Token field