Skip to content

Generate timestamp indicators for Discord chat messages

License

Notifications You must be signed in to change notification settings

DJDavid98/HammerTime

Repository files navigation

HammerTime

I discovered DiscordTimeStamper through this Reddit post and immediately knew this could be turned into a website, so here it is.

This project is not affiliated with Discord in any way shape or form.

Application logo based on Hammer by John Caserta, from The Noun Project licensed under CC BY 3.0 Unported

Translation

New language contributions are welcome! They are handled through Crowdin. If you don't see your language listed, join our Discord server and ask for your language to be added to the project in the #translator-signup channel. You will be given the Translator role and granted access to a language-specific channel for further discussion. This is necessary so that when new translations are needed for any potential new site features, I have an easy way to reach everyone at once.

English and Hungarian translations have been included, so no translators will be needed for these two languages.

How to set up Credits generation locally

[!NOTE] This section is primarily for me, the developer, to be able to refer back to these instructions in the future. However, if you would like to know the process on how to set this up locally, feel free to read on.

  1. Obtain a Crowdin API token for your account at https://crowdin.com/settings#api-key
    • You can enter any name you like
    • Check the "Projects" scope and select "Read only" from the dropdown next to it
    • Select "Read and write" in the "Reports" line inside "Projects"
  2. Make a copy of .env.template at the root of the repository called .env
    • This file is normally ignored in version control, if you are committing your changes, make sure it id not included.
  3. Fill in the environment variables inside the .env file as follows:
    • CROWDIN_API_KEY should be set to the token you just created
    • CROWDIN_PROJECT_IDENTIFIER is the text-based identifier on the project, this is typically at the end of the project page URL, e.g. in https://crowdin.com/project/hammertime the value that should be entered here is hammertime. You must have manager access to the project in question for the script to find it.
    • You can leave the rest of the values as-is.
  4. Now you can run npm run dev without the warning message related to credit generation

Credits