Skip to content
プロジェクト

概要

Get the timestamp from a Discord snowflake ❄

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

❄️ Snow-Stamp

I couldn't find a page anywhere that let you paste in a Discord snowflake to get the timestamp.

So I made one.

🔗 https://snowsta.mp

👩‍💻 If you're a developer looking for the conversion code, check out src/convert.js

Contribute

Pull requests and issues are welcome! Check the help wanted tag.

Develop

  1. npm install && npm run dev
  2. Write code
  3. npm run format && npm run test

Deploy

You 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.

Custom Epoch

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.

Sponsors

You can sponsor me on GitHub to have your name added here, or on snowsta.mp itself!


MadeWithSvelte.com shield

関連プロジェクトを探す

読み込み中…