I couldn't find a page anywhere that let you paste in a Discord snowflake to get the timestamp.
So I made one.
👩💻 If you're a developer looking for the conversion code, check out src/convert.js
Pull requests and issues are welcome! Check the help wanted tag.
vegeta897#7777npm install && npm run devnpm run format && npm run testYou can deploy a static site or run the included server. The benefit of using the server is that links containing snowflakes will show the timestamp in embeds when posted on services like Discord.
For either deployment, you must first build:
npm run build
To deploy a static site, copy or host the contents of /build
Otherwise, start the server:
npm start
The server runs on port 3000 by default, but you can set PORT in your environment variables. You can create a .env file in root to set this variable.
You can use a custom epoch instead of Discord's by setting environment variable SNOWFLAKE_EPOCH to the desired integer or with an .env file.
You can sponsor me on GitHub to have your name added here, or on snowsta.mp itself!