# Hackatime Docs > Learn how to set up Hackatime, track your coding time, and build integrations. # Hackatime Documentation Source: https://hackatime.hackclub.com/docs Get Hackatime running in your editor, customise your setup or build an integration. **[Quick start](/docs/getting-started/quick-start)** Set up Hackatime in minutes. **[Install an editor plugin](/docs/getting-started/installation)** Choose your editor plugin. **[Configuration](/docs/configuration)** Manage projects, privacy and plugins. **[OAuth apps](/docs/oauth/oauth-apps)** Build an OAuth integration. **[API reference](https://hackatime.hackclub.com/api-docs)** Browse Hackatime endpoints, or fetch the OpenAPI spec from `/openapi.json`. **[Troubleshooting](/docs/troubleshooting/hackatime-stuck-initialised)** Solve common setup problems. ## Editor guides **[VS Code](/docs/editors/vs-code)** Install the Hackatime Time Tracker extension. **[IntelliJ IDEA](/docs/editors/intellij-idea)** Set up the WakaTime plugin for JetBrains IDEs. **[Neovim](/docs/editors/neovim)** Track your time straight from the terminal. Or choose from more than 70 supported editors in the **Editors** section of the sidebar. ## Still need help? If something is not working, read the [troubleshooting guide](/docs/troubleshooting/hackatime-stuck-initialised), ask in [#hackatime-help](https://hackclub.slack.com/archives/C07MQ845X1F), or [open an issue](https://github.com/hackclub/hackatime/issues). --- # Configuration Source: https://hackatime.hackclub.com/docs/configuration Tune Hackatime after completing the [quick start](/docs/getting-started/quick-start). Project naming and privacy rules run in the WakaTime-compatible plugin on your computer, while account and project visibility settings live in Hackatime. ## Account settings Open [Settings](https://hackatime.hackclub.com/my/settings/profile) to update your profile and time zone. Hackatime uses your time zone for daily totals, streaks and calendar boundaries. Changing it refreshes those statistics, so they may take a moment to update. The **Privacy** settings page controls whether other people can look up your public coding statistics. It does not stop your editor from sending activity. To change what leaves your computer, use the [plugin privacy settings](/docs/configuration/privacy). ## Choose what to configure - [Projects and GitHub](/docs/configuration/projects) explains project names, repository links, sharing and archiving. - [Privacy and tracked data](/docs/configuration/privacy) explains heartbeat metadata, how to omit or obfuscate sensitive paths and the implications for Hack Club programme submissions. - [Plugin settings](/docs/configuration/plugin-settings) covers the shared `~/.wakatime.cfg`, exclusions and project-only tracking. Most editor plugins share the same WakaTime CLI configuration, so one change normally applies across all your installed editors. --- # Plugin settings Source: https://hackatime.hackclub.com/docs/configuration/plugin-settings WakaTime-compatible editor plugins normally share the configuration file at `~/.wakatime.cfg` (`%USERPROFILE%\\.wakatime.cfg` on Windows). Hackatime's [setup flow](https://hackatime.hackclub.com/setup) creates the essential values: ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Keep the API key private. It identifies your account when plugins submit coding activity. ## Track only selected projects To disable tracking everywhere except folders containing a `.wakatime-project` file, add: ```ini title="~/.wakatime.cfg" [settings] include_only_with_project_file = true ``` Then create `.wakatime-project` in each project you want to track. The file can be empty, or its first line can set the project name. ## Add project-specific settings Create a `.wakatime` file in a project root to override global plugin settings for that project: ```ini title=".wakatime" [settings] exclude = /build/ /generated/ ``` Project settings replace the corresponding global setting. Repeat any global exclusions you still need in that project. ## Diagnose plugin problems Set `debug = true` temporarily under `[settings]`, reproduce the problem and inspect your editor's WakaTime output or the CLI log under `~/.wakatime/`. Remove debug mode afterwards to avoid noisy logs. If configuration changes are not picked up, restart the editor. For a guided connectivity check, rerun the [Hackatime setup flow](https://hackatime.hackclub.com/setup). --- # Privacy and tracked data Source: https://hackatime.hackclub.com/docs/configuration/privacy Hackatime receives activity events, called heartbeats, from your WakaTime-compatible editor plugin. The plugin sends metadata about the active coding session, not the contents of the file. ## Metadata a heartbeat can contain Depending on the editor and plugin, a heartbeat can include: - the file path or other entity name - project, branch, language and dependencies - editor, operating system, machine and plugin information - activity category, timestamp and line-count metadata - AI coding metadata supported by newer WakaTime clients - request metadata such as IP address and user agent Hackatime does not receive screenshots, a stream of your keystrokes, password values or the contents of the file you are editing through ordinary heartbeats. ## Hide sensitive paths before sending > **Warning for Hack Club programme submissions:** Hiding file names or other activity metadata can prevent reviewers from verifying your work and may cause your submission to be rejected. Keep file names visible for activity you plan to submit. These options are supported by WakaTime-compatible plugins, but that does not mean the resulting activity is eligible for a Hack Club programme. Privacy options belong under `[settings]` in `~/.wakatime.cfg`. They are applied by the plugin before a heartbeat reaches Hackatime. Send paths relative to the detected project folder: ```ini title="~/.wakatime.cfg" [settings] hide_project_folder = true ``` Obfuscate every file name while retaining its extension: ```ini title="~/.wakatime.cfg" [settings] hide_file_names = true ``` You can also set `hide_file_names` to a list of path patterns, or use `hide_project_names`, `hide_branch_names` and `hide_dependencies` for the corresponding metadata. ## Exclude paths entirely `exclude` entries are POSIX regular expressions. Matching activity is not sent: ```ini title="~/.wakatime.cfg" [settings] exclude = /node_modules/ /vendor/ \\.env$ /private/ ``` Use forward slashes in patterns, including on Windows. Test broad expressions carefully: excluded time cannot appear in Hackatime because the plugin never sends it. For the complete client-side option reference, see the [WakaTime CLI configuration documentation](https://github.com/wakatime/wakatime-cli/blob/develop/USAGE.md). --- # Projects and GitHub Source: https://hackatime.hackclub.com/docs/configuration/projects Hackatime creates projects from the project name sent by your editor plugin. By default, WakaTime-compatible plugins usually detect that name from version control or your editor workspace. ## Set a stable project name Create a `.wakatime-project` file in the project root when automatic detection chooses the wrong name. Put the desired project name on the first line: ```text title=".wakatime-project" hackatime ``` An empty file uses the folder name. An optional second line overrides the branch name. This file is different from a `.wakatime` file, which contains project-specific plugin settings. Choose the name before accumulating substantial activity. Hackatime treats each distinct name as a separate project. ## Connect GitHub Open [Projects](https://hackatime.hackclub.com/my/projects) and select **Sign in with GitHub**. Hackatime scans repositories available to your GitHub account and organisations, then matches unmapped projects by name. Automatic matching links the repository to the coding project; it does not import GitHub activity or change your recorded coding time. To correct a match: 1. Open [Projects](https://hackatime.hackclub.com/my/projects). 2. Select the edit action beside the project. 3. Enter a GitHub repository URL that your connected account can access. Hackatime currently supports GitHub repository links only. Private repositories remain subject to GitHub access checks. ## Share or archive a project Sharing creates a link-visible project statistics page. Anyone with that link may see the project statistics, so review the project name and data before enabling it. Archiving removes a project from normal project lists and most statistics without deleting its heartbeats. You can switch to archived projects and restore it later. --- # Acode Source: https://hackatime.hackclub.com/docs/editors/acode import pluginStoreLight from "./images/acode-plugin-store-light.png"; import pluginStoreDark from "./images/acode-plugin-store-dark.png"; import extensionPageLight from "./images/acode-extension-page-light.png"; import extensionPageDark from "./images/acode-extension-page-dark.png"; import pluginsMenuLight from "./images/acode-plugins-light.png"; import pluginsMenuDark from "./images/acode-plugins-dark.png"; import installedPluginsMenuLight from "./images/acode-installed-plugins-light.png"; import installedPluginsMenuDark from "./images/acode-installed-plugins-dark.png"; import pluginSettingsLight from "./images/acode-settings-light.png"; import pluginSettingsDark from "./images/acode-settings-dark.png"; import infoPanelLight from "./images/acode-extension-info-light.png"; import infoPanelDark from "./images/acode-extension-info-dark.png"; ![Acode](/blume-assets/content/public/images/editor-icons/acode-128.png) Follow these steps to start tracking your coding time in Acode with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Install the Wakatime extension Open the plugin store by pressing **Explore Plugins** in the welcome menu or under **Settings** -> **Plugins** -> **All**. Acode plugin store Acode plugin store Search for `Wakatime` and install the extension by Overskul. Acode Plugins page showing the Wakatime extension and a blue install button Acode Plugins page showing the Wakatime extension and a blue install button ## Step 3: Configure the extension Exit out of the plugin store and open the left sidebar by pressing on the **Hamburger menu icon**. Then click on the **Jigsaw piece icon** to open the plugin menu. Acode plugins menu opened from the sidebar Acode plugins menu opened from the sidebar Expand the installed tab and press on the three-dots of the Wakatime extension. Select **Settings** in the pop-up menu. Acode plugins menu opened, installed section extended and pop-up of Wakatime plugin open Acode plugins menu opened, installed section extended and pop-up of Wakatime plugin open Under **Wakatime API Key** enter your API key, which you can get from the [API Key page](https://hackatime.hackclub.com/api-key). Under **WakaTime API Endpoint** enter the hackatime API URL `https://hackatime.hackclub.com/api/hackatime/v1`. Wakatime plugin settings open Wakatime plugin settings open ## Step 4: Open a project You can open a folder either from the welcome menu or from the file menu in the left sidebar. Make sure your files are saved into that folder, otherwise they will not be tracked. ## What gets tracked Acode sends a heartbeat when you edit a file. Your project name, branch, language, current line number and total lines are sent with each heartbeat. ## Troubleshooting The extension has an information panel, which can be opened from the left sidebar and provides useful information, like the data related to the last heartbeat including time since and project name. Wakatime plugin info panel open Wakatime plugin info panel open - **Last heartbeats project says `none` or `?`** Make sure you've opened a folder and the file you're editing is saved in that folder. - **Plugin not working?** Try restarting Acode after installation. - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Android Studio Source: https://hackatime.hackclub.com/docs/editors/android-studio import editorLight from "./images/android-studio-editor-light.png"; import editorDark from "./images/android-studio-editor-dark.png"; import pluginMarketplaceLight from "./images/android-studio-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/android-studio-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/android-studio-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/android-studio-third-party-notice-dark.png"; import statusBarLight from "./images/android-studio-status-bar-light.png"; import statusBarDark from "./images/android-studio-status-bar-dark.png"; import toolsMenuLight from "./images/android-studio-tools-menu-light.png"; import toolsMenuDark from "./images/android-studio-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/android-studio-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/android-studio-wakatime-settings-dark.png"; ![Android Studio](/blume-assets/content/public/images/editor-icons/android-studio-128.png) Follow these steps to start tracking your coding time in Android Studio with Hackatime. Android Studio uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If Android Studio is already installed, the setup script also installs the WakaTime plugin for you. Restart Android Studio and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. Android Studio Settings on the Plugins Marketplace tab with WakaTime in the search results Android Studio Settings on the Plugins Marketplace tab with WakaTime in the search results Android Studio warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. Android Studio with a project open and the WakaTime time in the status bar Android Studio with a project open and the WakaTime time in the status bar Android Studio status bar showing today's coding time next to the WakaTime icon Android Studio status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. Android Studio Tools menu with WakaTime Settings at the top Android Studio Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked Android Studio sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart Android Studio. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart Android Studio and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Antigravity Source: https://hackatime.hackclub.com/docs/editors/antigravity Antigravity is a VSCode fork from Google with built-in AI features for code assistance and generation. ## Setup Antigravity uses the WakaTime extension for time tracking. Follow these steps to track your coding time with Hackatime: 1. Configure your editor by using our [simple installer](https://hackatime.hackclub.com/setup) 2. Restart Antigravity and start coding! The WakaTime extension will automatically track your time spent coding in Antigravity. --- # AppCode Source: https://hackatime.hackclub.com/docs/editors/appcode ![AppCode](/blume-assets/content/public/images/editor-icons/appcode-128.png) Follow these steps to start tracking your coding time in AppCode with Hackatime. AppCode uses the WakaTime plugin, which works with Hackatime once the setup script has run. JetBrains discontinued AppCode in 2022 and 2023.1 is its last release, but the WakaTime plugin still supports it. AppCode only runs on macOS. This page has no screenshots for that reason. The steps are the same as in the [IntelliJ IDEA guide](/docs/editors/intellij-idea), which has them. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If AppCode is already installed, the setup script also installs the WakaTime plugin for you. Restart AppCode and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,**. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. AppCode warns you that WakaTime is a third-party plugin. Press **Accept**. When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. ## What gets tracked AppCode sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart AppCode. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart AppCode and look for WakaTime messages in **Help → Show Log in Finder**. - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Aptana Source: https://hackatime.hackclub.com/docs/editors/aptana ![Aptana](/blume-assets/content/public/images/editor-icons/aptana-128.png) Follow these steps to start tracking your coding time in Aptana with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Aptana plugin Follow the detailed plugin installation instructions on the [WakaTime Aptana page](https://wakatime.com/aptana). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Aptana after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Arduino IDE Source: https://hackatime.hackclub.com/docs/editors/arduino-ide ![Arduino IDE](/blume-assets/content/public/images/editor-icons/arduino-ide-128.png) Follow these steps to start tracking your coding time in Arduino IDE with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Arduino IDE plugin Follow the detailed plugin installation instructions on the [WakaTime Arduino IDE page](https://wakatime.com/arduino-ide). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Arduino IDE after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Aseprite Source: https://hackatime.hackclub.com/docs/editors/aseprite ![Aseprite](/blume-assets/content/public/images/editor-icons/aseprite-128.png) Let's set up Aseprite to count how much time you spend making art! ## Step 1: Make a Hackatime account Go to **[Hackatime](https://hackatime.hackclub.com)** and make an account. Then log in. ## Step 2: Get your settings ready Click this link to the **[setup page](https://hackatime.hackclub.com/setup)**. It will set up your account so it works with Aseprite. ## Step 3: Add the plugin to Aseprite We will be using a community plugin to connect Aseprite to your hackatime. Thanks to the creator: **[espcaa](https://github.com/espcaa)** who created this plugin to work with Hackatime. Here are the instructions: 1. Go to this GitHub page: **[Wakatime-Aseprite](https://github.com/espcaa/wakatime-aseprite)** 2. Download the latest release from the **releases page** 3. Open Aseprite 4. Open your settings menu (`Ctrl + K` on Windows/Linux or `⌘ + ,` on macOS or **Edit > Preferences**) 5. Go to **Extensions** & add an extension with the file you just downloaded After installing, you will need to grab your Hackatime API key and manually add it to your global configuration file: 1. Open your global `.wakatime.cfg` file located in your user home directory. 2. Structure the file with the custom Hackatime endpoint and your API key (grab your key from https://hackatime.hackclub.com/my/settings): ```ini [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_HACKATIME_API_KEY ``` ### Naming your projects To ensure your canvas displays correctly on the Hackatime dashboard: * Go to **Home > ☰ > Set Project Name** * You'll need to do this each time you start a project for it to track correctly on Hackatime. ## If something goes wrong **Can't see your time?** Go back to the [setup page](https://hackatime.hackclub.com/setup) and try again. **Plugin not working?** Make sure your `.wakatime.cfg` file has the correct API key and home directory path **Still having trouble?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) - look for the #hackatime-help channel. ## What happens next Start drawing! Your time will show up on your [Hackatime page](https://hackatime.hackclub.com) in a few minutes. **Special thanks to [espcaa](https://github.com/espcaa) for creating the plugin for use with Hackatime.** --- # Azure Data Studio Source: https://hackatime.hackclub.com/docs/editors/azure-data-studio ![Azure Data Studio](/blume-assets/content/public/images/editor-icons/azure-data-studio-128.png) Follow these steps to start tracking your coding time in Azure Data Studio with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Azure Data Studio plugin Follow the detailed plugin installation instructions on the [WakaTime Azure Data Studio page](https://wakatime.com/azure-data-studio). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Azure Data Studio after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Brackets Source: https://hackatime.hackclub.com/docs/editors/brackets ![Brackets](/blume-assets/content/public/images/editor-icons/brackets-128.png) Follow these steps to start tracking your coding time in Brackets with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Brackets plugin Follow the detailed plugin installation instructions on the [WakaTime Brackets page](https://wakatime.com/brackets). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Brackets after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # C++ Builder Source: https://hackatime.hackclub.com/docs/editors/c++-builder ![C++ Builder](/blume-assets/content/public/images/editor-icons/c%2B%2B-builder-128.png) Follow these steps to start tracking your coding time in C++ Builder with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install C++ Builder plugin Follow the detailed plugin installation instructions on the [WakaTime C++ Builder page](https://wakatime.com/c++-builder). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting C++ Builder after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # CLion Source: https://hackatime.hackclub.com/docs/editors/clion import editorLight from "./images/clion-editor-light.png"; import editorDark from "./images/clion-editor-dark.png"; import pluginMarketplaceLight from "./images/clion-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/clion-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/clion-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/clion-third-party-notice-dark.png"; import statusBarLight from "./images/clion-status-bar-light.png"; import statusBarDark from "./images/clion-status-bar-dark.png"; import toolsMenuLight from "./images/clion-tools-menu-light.png"; import toolsMenuDark from "./images/clion-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/clion-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/clion-wakatime-settings-dark.png"; ![CLion](/blume-assets/content/public/images/editor-icons/clion-128.png) Follow these steps to start tracking your coding time in CLion with Hackatime. CLion uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If CLion is already installed, the setup script also installs the WakaTime plugin for you. Restart CLion and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. CLion Settings on the Plugins Marketplace tab with WakaTime in the search results CLion Settings on the Plugins Marketplace tab with WakaTime in the search results CLion warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. CLion with a project open and the WakaTime time in the status bar CLion with a project open and the WakaTime time in the status bar CLion status bar showing today's coding time next to the WakaTime icon CLion status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. CLion Tools menu with WakaTime Settings at the top CLion Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked CLion sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart CLion. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart CLion and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Cloud9 Source: https://hackatime.hackclub.com/docs/editors/cloud9 ![Cloud9](/blume-assets/content/public/images/editor-icons/cloud9-128.png) Follow these steps to start tracking your coding time in Cloud9 with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Cloud9 plugin Follow the detailed plugin installation instructions on the [WakaTime Cloud9 page](https://wakatime.com/cloud9). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Cloud9 after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Coda Source: https://hackatime.hackclub.com/docs/editors/coda ![Coda](/blume-assets/content/public/images/editor-icons/coda-128.png) Follow these steps to start tracking your coding time in Coda with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Coda plugin Follow the detailed plugin installation instructions on the [WakaTime Coda page](https://wakatime.com/coda). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Coda after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # CodeTasty Source: https://hackatime.hackclub.com/docs/editors/codetasty ![CodeTasty](/blume-assets/content/public/images/editor-icons/codetasty-128.png) Follow these steps to start tracking your coding time in CodeTasty with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install CodeTasty plugin Follow the detailed plugin installation instructions on the [WakaTime CodeTasty page](https://wakatime.com/codetasty). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting CodeTasty after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Cursor Source: https://hackatime.hackclub.com/docs/editors/cursor ![Cursor](/blume-assets/content/public/images/editor-icons/cursor-128.png) Let's set up Cursor (the AI code editor) to count how much time you spend coding! ## Step 1: Make a Hackatime account Go to [Hackatime](https://hackatime.hackclub.com) and make an account. Then log in. ## Step 2: Get your settings ready Click this link to the [setup page](https://hackatime.hackclub.com/setup). It will set up your account so it works with Cursor. ## Step 3: Add the plugin to Cursor 1. Open Cursor 2. Click the squares icon on the left (Extensions) 3. Type "WakaTime" in the search box 4. Click the **Install** button next to WakaTime 5. Cursor might ask you to restart - click **Reload** if it does That's it! The plugin will use your settings from Step 2. ## If something goes wrong **Can't see your time?** Go back to the [setup page](https://hackatime.hackclub.com/setup) and try again. **Plugin not working?** Close Cursor and open it again. **Still having trouble?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) - look for the #hackatime-help channel. ## What happens next Start coding with AI help! Your time will show up on your [Hackatime page](https://hackatime.hackclub.com) in a few minutes. --- # DataGrip Source: https://hackatime.hackclub.com/docs/editors/datagrip import editorLight from "./images/datagrip-editor-light.png"; import editorDark from "./images/datagrip-editor-dark.png"; import pluginMarketplaceLight from "./images/datagrip-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/datagrip-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/datagrip-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/datagrip-third-party-notice-dark.png"; import statusBarLight from "./images/datagrip-status-bar-light.png"; import statusBarDark from "./images/datagrip-status-bar-dark.png"; import findActionLight from "./images/datagrip-find-action-light.png"; import findActionDark from "./images/datagrip-find-action-dark.png"; import wakatimeSettingsLight from "./images/datagrip-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/datagrip-wakatime-settings-dark.png"; ![DataGrip](/blume-assets/content/public/images/editor-icons/datagrip-128.png) Follow these steps to start tracking your coding time in DataGrip with Hackatime. DataGrip uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If DataGrip is already installed, the setup script also installs the WakaTime plugin for you. Restart DataGrip and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. DataGrip Settings on the Plugins Marketplace tab with WakaTime in the search results DataGrip Settings on the Plugins Marketplace tab with WakaTime in the search results DataGrip warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. DataGrip with a project open and the WakaTime time in the status bar DataGrip with a project open and the WakaTime time in the status bar DataGrip status bar showing today's coding time next to the WakaTime icon DataGrip status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **WakaTime Settings**. DataGrip has no **Tools** menu, so press **Cmd+Shift+A** on Mac or **Ctrl+Shift+A** on Linux and Windows, type `WakaTime Settings` and press **Enter**. DataGrip Find Action popup with WakaTime Settings selected DataGrip Find Action popup with WakaTime Settings selected **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked DataGrip sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart DataGrip. - **Something else?** Tick **Debug** in **WakaTime Settings** (find it with **Cmd+Shift+A** or **Ctrl+Shift+A**), restart DataGrip and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # DataSpell Source: https://hackatime.hackclub.com/docs/editors/dataspell ![DataSpell](/blume-assets/content/public/images/editor-icons/dataspell-128.png) Follow these steps to start tracking your coding time in DataSpell with Hackatime. DataSpell uses the WakaTime plugin, which works with Hackatime once the setup script has run. JetBrains has stopped developing DataSpell and 2026.1 is its last release, but the WakaTime plugin still supports it. This page has no screenshots for that reason. The steps are the same as in the [IntelliJ IDEA guide](/docs/editors/intellij-idea), which has them. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. The setup script doesn't install plugins for DataSpell, so install the WakaTime plugin yourself in the next step. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. DataSpell warns you that WakaTime is a third-party plugin. Press **Accept**. When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. ## What gets tracked DataSpell sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart DataSpell. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart DataSpell and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # DBeaver Source: https://hackatime.hackclub.com/docs/editors/dbeaver ![DBeaver](/blume-assets/content/public/images/editor-icons/dbeaver-128.png) Follow these steps to start tracking your coding time in DBeaver with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install DBeaver plugin Follow the detailed plugin installation instructions on the [WakaTime DBeaver page](https://wakatime.com/dbeaver). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting DBeaver after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Delphi Source: https://hackatime.hackclub.com/docs/editors/delphi ![Delphi](/blume-assets/content/public/images/editor-icons/delphi-128.png) Follow these steps to start tracking your coding time in Delphi with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Delphi plugin Follow the detailed plugin installation instructions on the [WakaTime Delphi page](https://wakatime.com/delphi). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Delphi after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Eclipse Source: https://hackatime.hackclub.com/docs/editors/eclipse ![Eclipse](/blume-assets/content/public/images/editor-icons/eclipse-128.png) Follow these steps to start tracking your coding time in Eclipse with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Eclipse plugin Follow the detailed plugin installation instructions on the [WakaTime Eclipse page](https://wakatime.com/eclipse). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Eclipse after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Emacs Source: https://hackatime.hackclub.com/docs/editors/emacs ![Emacs](/blume-assets/content/public/images/editor-icons/emacs-128.png) Follow these steps to start tracking your coding time in Emacs with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Emacs plugin Follow the detailed plugin installation instructions on the [WakaTime Emacs page](https://wakatime.com/emacs). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Emacs after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Eric Source: https://hackatime.hackclub.com/docs/editors/eric ![Eric](/blume-assets/content/public/images/editor-icons/eric-128.png) Follow these steps to start tracking your coding time in Eric with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Eric plugin Follow the detailed plugin installation instructions on the [WakaTime Eric page](https://wakatime.com/eric). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Eric after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Figma Source: https://hackatime.hackclub.com/docs/editors/figma ![Figma](/blume-assets/content/public/images/editor-icons/figma-128.png) Follow these steps to start tracking your design work in Figma with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Install the extension Visit the [GitHub page](https://github.com/SkyfallWasTaken/figma-wakatime) and install the extension on Chrome or Firefox. ## Step 3: Configure API credentials 1. Click the "puzzle piece" icon on your toolbar 2. Click on "WakaTime for Figma" 3. For the API key, use your Hackatime API key (which is located [here](https://hackatime.hackclub.com/api-key)) 4. For the API URL, use `https://hackatime.hackclub.com/api/hackatime/v1` ## Troubleshooting - **Plugin not working?** Try refreshing your Figma after installation. You should see a "WakaTime for Figma is running!" toast when you open a Figma design. - **Using FigJam or Figma Slides?** The plugin currently doesn't support FigJam or Figma Slides - it only works for the main editor. If you would like support for this, open an issue on the extension's [GitHub page.](https://github.com/SkyfallWasTaken/figma-wakatime) - **Is time being misattributed to different projects?** The extension uses your Figma filename as the Hackatime project name. So make sure it's not called "Untitled" or something similar! - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) ([#figma-wakatime channel](https://hackclub.slack.com/archives/C092UUSQC01)), or open an issue to report bugs. Once configured, your activity time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy designing! --- # Gedit Source: https://hackatime.hackclub.com/docs/editors/gedit ![Gedit](/blume-assets/content/public/images/editor-icons/gedit-128.png) Follow these steps to start tracking your coding time in Gedit with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Gedit plugin Follow the detailed plugin installation instructions on the [WakaTime Gedit page](https://wakatime.com/gedit). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Gedit after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Godot Source: https://hackatime.hackclub.com/docs/editors/godot ![Godot](/blume-assets/content/public/images/editor-icons/godot-128.png) Follow these steps to start tracking your game development in Godot with Hackatime: ## 1: Log in to Hackatime **[hackatime.hackclub.com](https://hackatime.hackclub.com)** Sign in with your Hackatime account (or create one if you don't have one yet)! ## 2: Set up Hackatime Follow the instructions on the site, then copy the command into whatever terminal program you use. (The command will be different on Windows - make sure to pick the right one!) This will set some environment variables and tell Hackatime where to "phone home" when you're working. **💡 Visit our [setup page](https://hackatime.hackclub.com/setup) to automatically configure everything!** ## 3: Download Godot **[godotengine.org/download](https://godotengine.org/download)** Download the Godot binary! If you're on Linux and know what you're doing, make sure to check your distro's package manager for any special builds. ## 4: Create a new Godot project If you'd like to be able to run your game in browser, choose the **Mobile** renderer. Otherwise, **Forward+** is a good option. ## 5: Install Godot Super WakaTime ### Via asset library (recommended) 1. Open Godot Engine 2. Create or open a project 3. Go to the **AssetLib** tab in the project manager or editor 4. Search for **"Godot Super Wakatime"** 5. If prompted, click **'Go Online'** to be able to search 6. Click **Download** and then **Install** **Note** If you can't find it, make sure that you created a project already and aren't searching from the project library page! Ignore any warnings that appear during installation. **Alternative: manual installation** 1. Download the latest release from [Godot Super-Wakatime GitHub](https://github.com/BudzioT/Godot_Super-Wakatime) 2. Extract the `addons/godot_super-wakatime` folder to your project's `addons` directory ## 6: Enable Godot Super WakaTime 1. Go to **Project → Project Settings → Plugins** 2. Find **"Godot Super Wakatime"** in the list 3. **Enable** the plugin 4. You'll be prompted to enter your WakaTime API key (this should be automatically configured from step 2!) **Important** You need to install Godot Super WakaTime for every project (it's a Godot limitation). ## All done! After you're finished, make sure to check **[hackatime.hackclub.com](https://hackatime.hackclub.com)** after a little while and ensure you're logging progress! You can also try some **[wakatime.com/plugins](https://wakatime.com/plugins)** if you'd like to log time spent editing your project in other programs. ## Troubleshooting **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first. **Plugin not enabled?** Check **Project → Project Settings → Plugins** and enable "Godot Super Wakatime". **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). --- *Plugin created by [Bartosz (BudzioT)](https://github.com/BudzioT), a Hack Clubber, and officially approved for Hack Club events!* --- # GoLand Source: https://hackatime.hackclub.com/docs/editors/goland import editorLight from "./images/goland-editor-light.png"; import editorDark from "./images/goland-editor-dark.png"; import pluginMarketplaceLight from "./images/goland-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/goland-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/goland-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/goland-third-party-notice-dark.png"; import statusBarLight from "./images/goland-status-bar-light.png"; import statusBarDark from "./images/goland-status-bar-dark.png"; import toolsMenuLight from "./images/goland-tools-menu-light.png"; import toolsMenuDark from "./images/goland-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/goland-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/goland-wakatime-settings-dark.png"; ![GoLand](/blume-assets/content/public/images/editor-icons/goland-128.png) Follow these steps to start tracking your coding time in GoLand with Hackatime. GoLand uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If GoLand is already installed, the setup script also installs the WakaTime plugin for you. Restart GoLand and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. GoLand Settings on the Plugins Marketplace tab with WakaTime in the search results GoLand Settings on the Plugins Marketplace tab with WakaTime in the search results GoLand warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. GoLand with a project open and the WakaTime time in the status bar GoLand with a project open and the WakaTime time in the status bar GoLand status bar showing today's coding time next to the WakaTime icon GoLand status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. GoLand Tools menu with WakaTime Settings at the top GoLand Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked GoLand sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart GoLand. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart GoLand and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # HBuilder X Source: https://hackatime.hackclub.com/docs/editors/hbuilder-x ![HBuilder X](/blume-assets/content/public/images/editor-icons/hbuilder-x-128.png) Follow these steps to start tracking your coding time in HBuilder X with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install HBuilder X plugin Follow the detailed plugin installation instructions on the [WakaTime HBuilder X page](https://wakatime.com/hbuilder-x). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting HBuilder X after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Helix Source: https://hackatime.hackclub.com/docs/editors/helix ![Helix](/blume-assets/content/public/images/editor-icons/helix-128.png) Follow these steps to start tracking your coding in Helix with Hackatime: ## 1: Log in to Hackatime **[hackatime.hackclub.com](https://hackatime.hackclub.com)** Sign in with your Hackatime account (or create one if you don't have one yet)! ## 2: Set up Hackatime Follow the instructions on the site, then copy the command into whatever terminal program you use. (The command will be different on Windows - make sure to pick the right one!) This will set some environment variables and tell Hackatime where to "phone home" when you're working. **💡 Visit our [setup page](https://hackatime.hackclub.com/setup) to automatically configure everything!** ## 3: Install Helix **[docs.helix-editor.com](https://docs.helix-editor.com/install.html)** Download the Helix binary, or if you know what you're doing, use your distro's package manager for any special builds! ## 4: Install `wakatime-cli` **[github.com/wakatime/wakatime-cli](https://github.com/wakatime/wakatime-cli/releases/latest)** This binary is required for Helix to be able to send your time to Hackatime. You can check that it's installed correctly through your `PATH` environment variable by running `which wakatime-cli` or `which wakatime` (Linux/macOS) or `where wakatime-cli` or `where wakatime` (Windows) in your terminal. ## 5: Install `wakatime-ls` **[github.com/mrnossiom/wakatime-ls](https://github.com/mrnossiom/wakatime-ls)** You can either download the binary from [GitHub Releases](https://github.com/mrnossiom/wakatime-ls/releases/latest), or if you have `cargo` installed: `cargo install wakatime-ls`. Please note that there are no binaries for Windows available on GitHub releases, if you're on Windows, you will have to use `cargo install wakatime-ls` You can check that it's installed correctly through your `PATH` environment variable by running `which wakatime-ls` (Linux/MacOS) or `where wakatime-ls` (Windows) in your terminal. ## 6: Configure Helix's languages The way this method works relies on having an [LSP](https://microsoft.github.io/language-server-protocol/) tracking your code changes, as Helix does not currently have a plugin system. This means that you have to add this LSP to every language you're planning to use. Start by creating a `languages.toml` file in the Helix configuration directory. On Linux/MacOS, this would be `~/.config/helix/languages.toml`, and on Windows it would be `%AppData%\helix\languages.toml`. ### Register the LSP Inside Helix's `languages.toml` file, add the following content: ```toml [language-server.wakatime] command = "wakatime-ls" ``` This registers the Wakatime LSP in Helix, allowing it to be used for other languages. ### Add the LSP to your languages 1. Find the language you want to track in the [master `languages.toml`](https://github.com/helix-editor/helix/blob/master/languages.toml). For example, the master Rust configuration looks like this: ```toml [[language]] name = "rust" scope = "source.rust" injection-regex = "rs|rust" file-types = ["rs"] roots = ["Cargo.toml", "Cargo.lock"] shebangs = ["rust-script", "cargo"] auto-format = true comment-tokens = ["//", "///", "//!"] block-comment-tokens = [ { start = "/*", end = "*/" }, { start = "/**", end = "*/" }, { start = "/*!", end = "*/" }, ] language-servers = [ "rust-analyzer" ] indent = { tab-width = 4, unit = " " } persistent-diagnostic-sources = ["rustc", "clippy"] ``` 2. Copy the `[[language]]` header, the name property, and the language servers property to your own `languages.toml`: ```toml [[language]] name = "rust" language-servers = [ "rust-analyzer" ] ``` 3. Add `"wakatime"` to the list of language-servers: ```toml [[language]] name = "rust" language-servers = [ "rust-analyzer", "wakatime" ] ``` 4. Your final `languages.toml` may look something like this: ```toml [language-server.wakatime] command = "wakatime-ls" [[language]] name = "rust" language-servers = [ "rust-analyzer", "wakatime" ] ``` 5. If you want to add more languages, simply repeat these steps! Here's an example with Ruby and Javascript: ```toml [language-server.wakatime] command = "wakatime-ls" [[language]] name = "rust" language-servers = [ "rust-analyzer", "wakatime" ] [[language]] name = "ruby" language-servers = [ "ruby-lsp", "solargraph", "wakatime" ] [[language]] name = "javascript" language-servers = [ "typescript-language-server", "wakatime" ] ``` ## All done! After you're finished setting everything up, restart Helix, then make sure to check **[hackatime.hackclub.com](https://hackatime.hackclub.com)** after a little while and ensure you're logging progress! You can also try some **[wakatime.com/plugins](https://wakatime.com/plugins)** if you'd like to log time spent editing your project in other programs. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first. - **LSP hasn't started?** Type `:lsp-restart ` in Helix for it to autocomplete the active LSPs. If `wakatime` isn't listed, then it's not setup in your `languages.toml` correctly. - **Language server exited?** This error will show up if you haven't installed everything correctly. Double check that `wakatime` and `wakatime-ls` are installed using `which` (Linux/MacOS) or `where` (Windows). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) --- # IDLE Source: https://hackatime.hackclub.com/docs/editors/idle import statusBarLight from "./images/idle-status-bar-light.png"; import statusBarDark from "./images/idle-status-bar-dark.png"; import apiKeyDialogLight from "./images/idle-api-key-dialog-light.png"; import apiKeyDialogDark from "./images/idle-api-key-dialog-dark.png"; import optionsMenuLight from "./images/idle-options-menu-light.png"; import optionsMenuDark from "./images/idle-options-menu-dark.png"; ![IDLE](/blume-assets/content/public/images/editor-icons/idle-128.png) Follow these steps to start tracking your coding time in Python's IDLE with Hackatime. The plugin works on macOS and Linux. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install the IDLE plugin Run these commands in a terminal, using the same `python3` that you open IDLE with: ```sh curl -fsSLO https://raw.githubusercontent.com/hackclub/idle-hackatime/main/IdleHackatime.py python3 IdleHackatime.py install ``` The installer adds the plugin to IDLE and downloads wakatime-cli if you don't have it yet. If you skipped Step 2, it asks for your API key. ## Step 4: Restart IDLE Close every IDLE window and open IDLE again. The Hackatime logo and today's coding time appear in the bottom-left corner of each editor window. IDLE status bar showing the Hackatime logo and 37m of coding time today IDLE status bar showing the Hackatime logo and 37m of coding time today If you haven't set an API key yet, IDLE asks for one when it opens. Paste the key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings) and press **OK**. Hackatime API Key dialog in IDLE Hackatime API Key dialog in IDLE You can change your API key at any time from **Options → Hackatime API Key...**. **Options → Hackatime Dashboard** opens your dashboard in the browser. IDLE Options menu with the Hackatime API Key and Hackatime Dashboard items IDLE Options menu with the Hackatime API Key and Hackatime Dashboard items ## What gets tracked IDLE sends a heartbeat when you open or switch to a file, while you edit it and every time you save. Your project, branch, language, line and cursor position come along with it. Files you haven't saved yet and the IDLE Shell window aren't tracked. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first. Heartbeats can take up to two minutes to show up. - **No logo in the status bar?** The plugin was installed for a different Python. Run `python3 -m idlelib` to open IDLE with the same Python you installed it with. - **macOS with Homebrew?** IDLE needs Tk, so install it with `brew install python-tk` first. - **Something else?** Check `~/.wakatime/idle-hackatime.log` for errors. - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). To remove the plugin, run `python3 IdleHackatime.py uninstall`. ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # IntelliJ IDEA Source: https://hackatime.hackclub.com/docs/editors/intellij-idea import editorLight from "./images/intellij-idea-editor-light.png"; import editorDark from "./images/intellij-idea-editor-dark.png"; import pluginMarketplaceLight from "./images/intellij-idea-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/intellij-idea-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/intellij-idea-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/intellij-idea-third-party-notice-dark.png"; import statusBarLight from "./images/intellij-idea-status-bar-light.png"; import statusBarDark from "./images/intellij-idea-status-bar-dark.png"; import toolsMenuLight from "./images/intellij-idea-tools-menu-light.png"; import toolsMenuDark from "./images/intellij-idea-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/intellij-idea-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/intellij-idea-wakatime-settings-dark.png"; ![IntelliJ IDEA](/blume-assets/content/public/images/editor-icons/intellij-idea-128.png) Follow these steps to start tracking your coding time in IntelliJ IDEA with Hackatime. IntelliJ IDEA uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If IntelliJ IDEA is already installed, the setup script also installs the WakaTime plugin for you. Restart IntelliJ IDEA and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. IntelliJ IDEA Settings on the Plugins Marketplace tab with WakaTime in the search results IntelliJ IDEA Settings on the Plugins Marketplace tab with WakaTime in the search results IntelliJ IDEA warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. IntelliJ IDEA with a project open and the WakaTime time in the status bar IntelliJ IDEA with a project open and the WakaTime time in the status bar IntelliJ IDEA status bar showing today's coding time next to the WakaTime icon IntelliJ IDEA status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. IntelliJ IDEA Tools menu with WakaTime Settings at the top IntelliJ IDEA Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked IntelliJ IDEA sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart IntelliJ IDEA. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart IntelliJ IDEA and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Jupyter Source: https://hackatime.hackclub.com/docs/editors/jupyter ![Jupyter](/blume-assets/content/public/images/editor-icons/jupyter-128.png) Follow these steps to start tracking your coding time in Jupyter with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Jupyter plugin Follow the detailed plugin installation instructions on the [WakaTime Jupyter page](https://wakatime.com/jupyter). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Jupyter after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Kakoune Source: https://hackatime.hackclub.com/docs/editors/kakoune ![Kakoune](/blume-assets/content/public/images/editor-icons/kakoune-128.png) Follow these steps to start tracking your coding time in Kakoune with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Kakoune plugin Follow the detailed plugin installation instructions on the [WakaTime Kakoune page](https://wakatime.com/kakoune). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Kakoune after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Kate Source: https://hackatime.hackclub.com/docs/editors/kate ![Kate](/blume-assets/content/public/images/editor-icons/kate-128.png) Follow these steps to start tracking your coding time in Kate with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Kate plugin Follow the detailed plugin installation instructions on the [WakaTime Kate page](https://wakatime.com/kate). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Kate after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Komodo Source: https://hackatime.hackclub.com/docs/editors/komodo ![Komodo](/blume-assets/content/public/images/editor-icons/komodo-128.png) Follow these steps to start tracking your coding time in Komodo with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Komodo plugin Follow the detailed plugin installation instructions on the [WakaTime Komodo page](https://wakatime.com/komodo). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Komodo after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Micro Source: https://hackatime.hackclub.com/docs/editors/micro ![Micro](/blume-assets/content/public/images/editor-icons/micro-128.png) Follow these steps to start tracking your coding time in Micro with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Micro plugin Follow the detailed plugin installation instructions on the [WakaTime Micro page](https://wakatime.com/micro). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Micro after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # MPS Source: https://hackatime.hackclub.com/docs/editors/mps import editorLight from "./images/mps-editor-light.png"; import editorDark from "./images/mps-editor-dark.png"; import pluginMarketplaceLight from "./images/mps-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/mps-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/mps-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/mps-third-party-notice-dark.png"; import statusBarLight from "./images/mps-status-bar-light.png"; import statusBarDark from "./images/mps-status-bar-dark.png"; import toolsMenuLight from "./images/mps-tools-menu-light.png"; import toolsMenuDark from "./images/mps-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/mps-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/mps-wakatime-settings-dark.png"; ![MPS](/blume-assets/content/public/images/editor-icons/mps-128.png) Follow these steps to start tracking your coding time in MPS with Hackatime. MPS uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. The setup script doesn't install plugins for MPS, so install the WakaTime plugin yourself in the next step. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. MPS Settings on the Plugins Marketplace tab with WakaTime in the search results MPS Settings on the Plugins Marketplace tab with WakaTime in the search results MPS warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. MPS with a project open and the WakaTime time in the status bar MPS with a project open and the WakaTime time in the status bar MPS status bar showing today's coding time next to the WakaTime icon MPS status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. MPS Tools menu with WakaTime Settings at the top MPS Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked MPS sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart MPS. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart MPS and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Neovim Source: https://hackatime.hackclub.com/docs/editors/neovim import lazyLight from "./images/neovim-lazy-light.png"; import lazyDark from "./images/neovim-lazy-dark.png"; import wakatimeTodayLight from "./images/neovim-wakatime-today-light.png"; import wakatimeTodayDark from "./images/neovim-wakatime-today-dark.png"; ![Neovim](/blume-assets/content/public/images/editor-icons/neovim-128.png) Follow these steps to start tracking your coding time in Neovim with Hackatime. The screenshots show Neovim in Ghostty on macOS, but the steps are the same in any terminal on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install the WakaTime plugin Hackatime works with the official [vim-wakatime](https://github.com/wakatime/vim-wakatime) plugin. If you use [lazy.nvim](https://lazy.folke.io), add it to your plugin list: ```lua { "wakatime/vim-wakatime", lazy = false }, ``` Keep `lazy = false` so the plugin starts with Neovim, even if your config lazy-loads plugins by default. If your config loads plugins from `lua/plugins/`, you can put it in its own file instead: ```lua title="~/.config/nvim/lua/plugins/wakatime.lua" return { { "wakatime/vim-wakatime", lazy = false }, } ``` On Neovim 0.12 or newer you can use the built-in plugin manager instead. Add this to your `init.lua`: ```lua title="~/.config/nvim/init.lua" vim.pack.add({ "https://github.com/wakatime/vim-wakatime" }) ``` ## Step 4: Restart Neovim Close Neovim and open it again. Both lazy.nvim and `vim.pack` install the plugin when Neovim starts. With lazy.nvim, run `:Lazy` to check that **vim-wakatime** is listed under **Loaded**. lazy.nvim window listing vim-wakatime as loaded lazy.nvim window listing vim-wakatime as loaded The plugin downloads wakatime-cli the first time it runs and reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. `:WakaTimeApiKey` only changes the key, not the server address. ## Step 5: Check that it's running Edit and save a file, then run `:WakaTimeToday`. Your coding time for today appears at the bottom of the window. Neovim showing Today: 5m after running :WakaTimeToday Neovim showing Today: 5m after running :WakaTimeToday Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. ## What gets tracked Neovim sends a heartbeat when you open or switch to a file, while you edit it or move the cursor (at most once every two minutes for the same file) and every time you save. Your project, branch, language, line and cursor position come along with it. Help pages, terminals and other buffers that aren't files aren't tracked. Files outside a git repository are still tracked, but Neovim can't tell which project they belong to. That time counts towards your total but isn't attached to any project. Run `git init` in the project folder or add a [`.wakatime-project` file](/docs/configuration/projects#set-a-stable-project-name) to give that time a project. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-restart-neovim). Then edit a file. Heartbeats can take a few minutes to show up. - **Time missing from your projects?** The file isn't in a git repository. See [What gets tracked](#what-gets-tracked). - **`:WakaTimeToday` isn't a command?** The plugin isn't loaded. Check that `lazy = false` is set and run `:Lazy` to see whether it installed. - **Something else?** Run `:WakaTimeDebugEnable`, edit a file and read the messages with `:messages`. Run `:WakaTimeDebugDisable` when you're done. - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # NetBeans Source: https://hackatime.hackclub.com/docs/editors/netbeans ![NetBeans](/blume-assets/content/public/images/editor-icons/netbeans-128.png) Follow these steps to start tracking your coding time in NetBeans with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install NetBeans plugin Follow the detailed plugin installation instructions on the [WakaTime NetBeans page](https://wakatime.com/netbeans). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting NetBeans after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Notepad++ Source: https://hackatime.hackclub.com/docs/editors/notepad++ ![Notepad++](/blume-assets/content/public/images/editor-icons/notepad%2B%2B-128.png) Follow these steps to start tracking your coding time in Notepad++ with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Notepad++ plugin Follow the detailed plugin installation instructions: 1. Inside Notepad++ open the Plugins Admin (`Plugins` → `Plugins Admin`). 2. Search for `WakaTime` and then check the box in the list of plugins. 3. Click the Install button. 4. Restart Notepad++. 5. Enter your API key when prompted (this will be automatically configured if you completed Step 2). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Notepad++ after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Nova Source: https://hackatime.hackclub.com/docs/editors/nova ![Nova](/blume-assets/content/public/images/editor-icons/nova-128.png) Follow these steps to start tracking your coding time in Nova with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Nova plugin Follow the detailed plugin installation instructions on the [WakaTime Nova page](https://wakatime.com/nova). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Nova after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Obsidian Source: https://hackatime.hackclub.com/docs/editors/obsidian ![Obsidian](/blume-assets/content/public/images/editor-icons/obsidian-128.png) Follow these steps to start tracking your coding time in Obsidian with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Obsidian plugin Follow the detailed plugin installation instructions on the [WakaTime Obsidian page](https://wakatime.com/obsidian). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Obsidian after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Onshape Source: https://hackatime.hackclub.com/docs/editors/onshape ![Onshape](/blume-assets/content/public/images/editor-icons/onshape-128.png) Follow these steps to start tracking your coding time in OnShape with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Get your API key Visit the [setup page](https://hackatime.hackclub.com/setup#show-advanced-button), press on the button called "Custom Setup" and copy the api key. It should be random letters and numbers with some dashes in between. EX: 1234abcd-56ef-7891-abcd-efgh2345abcd ## Step 3: Install the WakaTime for OnShape extension Install the extension from [Chrome Web Store](https://chromewebstore.google.com/detail/onshape-wakatime/kieglbolocchhhcblnhaiodbpgkjcecg) or from the [FireFox Addons](https://addons.mozilla.org/en-US/firefox/addon/onshape-wakatime/). (PS: If you like it, pls rate it!) ## Step 4: Config your OnShape extension Visit [OnShape](https://onshape.com/) and login. Go to any of your documents and press on the Wakatime for Onshape extension icon to open its config page. In the WAKA api key section, paste your api key from Step 2 and make sure tracking is enabled (You should see some green on the switch). Do not change the API url. ## Troubleshooting - **Not seeing your time?** Make sure you have completed all the steps above and set the correct api key - **Plugin not working?** Try refreshing OnShape after installation - **Still stuck?** Ask for help in by pinging @Jeffrey Wang on [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your designing time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy designing! --- # Oxygen Source: https://hackatime.hackclub.com/docs/editors/oxygen ![Oxygen](/blume-assets/content/public/images/editor-icons/oxygen-128.png) Follow these steps to start tracking your coding time in Oxygen with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Oxygen plugin Follow the detailed plugin installation instructions on the [WakaTime Oxygen page](https://wakatime.com/oxygen). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Oxygen after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # PhpStorm Source: https://hackatime.hackclub.com/docs/editors/phpstorm import editorLight from "./images/phpstorm-editor-light.png"; import editorDark from "./images/phpstorm-editor-dark.png"; import pluginMarketplaceLight from "./images/phpstorm-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/phpstorm-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/phpstorm-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/phpstorm-third-party-notice-dark.png"; import statusBarLight from "./images/phpstorm-status-bar-light.png"; import statusBarDark from "./images/phpstorm-status-bar-dark.png"; import toolsMenuLight from "./images/phpstorm-tools-menu-light.png"; import toolsMenuDark from "./images/phpstorm-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/phpstorm-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/phpstorm-wakatime-settings-dark.png"; ![PhpStorm](/blume-assets/content/public/images/editor-icons/phpstorm-128.png) Follow these steps to start tracking your coding time in PhpStorm with Hackatime. PhpStorm uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If PhpStorm is already installed, the setup script also installs the WakaTime plugin for you. Restart PhpStorm and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. PhpStorm Settings on the Plugins Marketplace tab with WakaTime in the search results PhpStorm Settings on the Plugins Marketplace tab with WakaTime in the search results PhpStorm warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. PhpStorm with a project open and the WakaTime time in the status bar PhpStorm with a project open and the WakaTime time in the status bar PhpStorm status bar showing today's coding time next to the WakaTime icon PhpStorm status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. PhpStorm Tools menu with WakaTime Settings at the top PhpStorm Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked PhpStorm sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart PhpStorm. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart PhpStorm and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Postman Source: https://hackatime.hackclub.com/docs/editors/postman ![Postman](/blume-assets/content/public/images/editor-icons/postman-128.png) Follow these steps to start tracking your activity in Postman with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Postman plugin Follow the detailed plugin installation instructions on the [WakaTime Postman page](https://wakatime.com/postman). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Postman after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your activity time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy collaborating! --- # Processing Source: https://hackatime.hackclub.com/docs/editors/processing ![Processing](/blume-assets/content/public/images/editor-icons/processing-128.png) Follow these steps to start tracking your coding time in Processing with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Processing plugin Follow the detailed plugin installation instructions on the [WakaTime Processing page](https://wakatime.com/processing). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Processing after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Pulsar Source: https://hackatime.hackclub.com/docs/editors/pulsar ![Pulsar](/blume-assets/content/public/images/editor-icons/pulsar-128.png) Follow these steps to start tracking your coding time in Pulsar with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Pulsar plugin Follow the detailed plugin installation instructions on the [WakaTime Pulsar page](https://wakatime.com/pulsar). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Pulsar after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # PyCharm Source: https://hackatime.hackclub.com/docs/editors/pycharm import editorLight from "./images/pycharm-editor-light.png"; import editorDark from "./images/pycharm-editor-dark.png"; import pluginMarketplaceLight from "./images/pycharm-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/pycharm-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/pycharm-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/pycharm-third-party-notice-dark.png"; import statusBarLight from "./images/pycharm-status-bar-light.png"; import statusBarDark from "./images/pycharm-status-bar-dark.png"; import toolsMenuLight from "./images/pycharm-tools-menu-light.png"; import toolsMenuDark from "./images/pycharm-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/pycharm-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/pycharm-wakatime-settings-dark.png"; ![PyCharm](/blume-assets/content/public/images/editor-icons/pycharm-128.png) Follow these steps to start tracking your coding time in PyCharm with Hackatime. PyCharm uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If PyCharm is already installed, the setup script also installs the WakaTime plugin for you. Restart PyCharm and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. PyCharm Settings on the Plugins Marketplace tab with WakaTime in the search results PyCharm Settings on the Plugins Marketplace tab with WakaTime in the search results PyCharm warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. PyCharm with a project open and the WakaTime time in the status bar PyCharm with a project open and the WakaTime time in the status bar PyCharm status bar showing today's coding time next to the WakaTime icon PyCharm status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. PyCharm Tools menu with WakaTime Settings at the top PyCharm Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked PyCharm sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart PyCharm. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart PyCharm and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # ReClassEx Source: https://hackatime.hackclub.com/docs/editors/reclassex ![ReClassEx](/blume-assets/content/public/images/editor-icons/reclassex-128.png) Follow these steps to start tracking your coding time in ReClassEx with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install ReClassEx plugin Follow the detailed plugin installation instructions on the [WakaTime ReClassEx page](https://wakatime.com/reclassex). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting ReClassEx after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Rider Source: https://hackatime.hackclub.com/docs/editors/rider import editorLight from "./images/rider-editor-light.png"; import editorDark from "./images/rider-editor-dark.png"; import pluginMarketplaceLight from "./images/rider-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/rider-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/rider-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/rider-third-party-notice-dark.png"; import statusBarLight from "./images/rider-status-bar-light.png"; import statusBarDark from "./images/rider-status-bar-dark.png"; import toolsMenuLight from "./images/rider-tools-menu-light.png"; import toolsMenuDark from "./images/rider-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/rider-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/rider-wakatime-settings-dark.png"; ![Rider](/blume-assets/content/public/images/editor-icons/rider-128.png) Follow these steps to start tracking your coding time in Rider with Hackatime. Rider uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If Rider is already installed, the setup script also installs the WakaTime plugin for you. Restart Rider and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. Rider Settings on the Plugins Marketplace tab with WakaTime in the search results Rider Settings on the Plugins Marketplace tab with WakaTime in the search results Rider warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. Rider with a project open and the WakaTime time in the status bar Rider with a project open and the WakaTime time in the status bar Rider status bar showing today's coding time next to the WakaTime icon Rider status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. Rider Tools menu with WakaTime Settings at the top Rider Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked Rider sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart Rider. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart Rider and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Roblox Studio Source: https://hackatime.hackclub.com/docs/editors/roblox-studio ![Roblox Studio](/blume-assets/content/public/images/editor-icons/roblox-studio-128.png) This guide will walk you through setting up **Hackatime** to automatically track your game development time in **Roblox Studio**. --- ## Step 1: Log in to your Hackatime account First, make sure you have a **Hackatime account** and are logged in. If you don't have an account, you can create one at [hackatime.hackclub.com](https://hackatime.hackclub.com). --- ## Step 2: Install the Hackatime Roblox Studio plugin Next, you'll need to install the Hackatime plugin directly within Roblox Studio: 1. Open **Roblox Studio**. 2. Navigate to the **Toolbox**. 3. In the Toolbox search bar, select **"Plugins"** from the dropdown filter. 4. Search for **"HackaTime Roblox"**. 5. Install the plugin published by **"ThisWhity"**. ![Toolbox filter showing Plugins selected](/blume-assets/content/docs/editors/images/roblox-toolbox-plugins-filter.png) *Filter the Toolbox by "Plugins"* ![Toolbox search results showing HackaTime Roblox plugin](/blume-assets/content/docs/editors/images/roblox-toolbox-search.png) *Install the "HackaTime Roblox" plugin by ThisWhity* --- ## Step 3: Configure the plugin with your API key Now, you'll connect the plugin to your Hackatime account using your unique API key: 1. Get your API key by visiting [https://hackatime.hackclub.com/api-key](https://hackatime.hackclub.com/api-key). It will look something like this: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`. ![Screenshot showing API Key on Hackatime website](/blume-assets/content/docs/editors/images/roblox-api-key.png) *Your API key from the Hackatime website* 2. In Roblox Studio, open the **Hackatime plugin**. You'll usually find it under the "Plugins" tab in the Ribbon bar. ![Screenshot showing the Hackatime plugin tab with API key input](/blume-assets/content/docs/editors/images/roblox-plugin-api-key-input.png) *Open the Plugin* 4. Paste your API key into the API key box. And hit "Save API Key" --- ## Troubleshooting ### ERR\_NETWORK: Plugin cannot connect to Hackatime If you see an **ERR\_NETWORK** message, it means the plugin can't connect to Hackatime. This is likely due to you not allowing HTTP request from the plugin: 1. Open the "Manage Plugins". 2. Hit the edit icon. 3. Ensure that **"hackatime.hackclub.com"** is enabled. ![Screenshot showing Game Settings with Security tab open and Allow HTTP Requests highlighted](/blume-assets/content/docs/editors/images/roblox-game-settings-security.png) *Open Plugin Management* ![Screenshot showing Allow HTTP Requests enabled](/blume-assets/content/docs/editors/images/roblox-allow-http-requests.png) *Allow HTTP requests* ### Still stuck? If you're still experiencing issues, don't hesitate to ask for help in the **#hackatime-help channel** on the [Hack Club Slack](https://hackclub.slack.com). --- ## What's next? Once the plugin is successfully configured, your Roblox Studio activity time will automatically start appearing on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy game developing! --- # RubyMine Source: https://hackatime.hackclub.com/docs/editors/rubymine import editorLight from "./images/rubymine-editor-light.png"; import editorDark from "./images/rubymine-editor-dark.png"; import pluginMarketplaceLight from "./images/rubymine-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/rubymine-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/rubymine-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/rubymine-third-party-notice-dark.png"; import statusBarLight from "./images/rubymine-status-bar-light.png"; import statusBarDark from "./images/rubymine-status-bar-dark.png"; import toolsMenuLight from "./images/rubymine-tools-menu-light.png"; import toolsMenuDark from "./images/rubymine-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/rubymine-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/rubymine-wakatime-settings-dark.png"; ![RubyMine](/blume-assets/content/public/images/editor-icons/rubymine-128.png) Follow these steps to start tracking your coding time in RubyMine with Hackatime. RubyMine uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If RubyMine is already installed, the setup script also installs the WakaTime plugin for you. Restart RubyMine and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. RubyMine Settings on the Plugins Marketplace tab with WakaTime in the search results RubyMine Settings on the Plugins Marketplace tab with WakaTime in the search results RubyMine warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. RubyMine with a project open and the WakaTime time in the status bar RubyMine with a project open and the WakaTime time in the status bar RubyMine status bar showing today's coding time next to the WakaTime icon RubyMine status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. RubyMine Tools menu with WakaTime Settings at the top RubyMine Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked RubyMine sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart RubyMine. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart RubyMine and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # RustRover Source: https://hackatime.hackclub.com/docs/editors/rustrover import editorLight from "./images/rustrover-editor-light.png"; import editorDark from "./images/rustrover-editor-dark.png"; import pluginMarketplaceLight from "./images/rustrover-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/rustrover-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/rustrover-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/rustrover-third-party-notice-dark.png"; import statusBarLight from "./images/rustrover-status-bar-light.png"; import statusBarDark from "./images/rustrover-status-bar-dark.png"; import toolsMenuLight from "./images/rustrover-tools-menu-light.png"; import toolsMenuDark from "./images/rustrover-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/rustrover-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/rustrover-wakatime-settings-dark.png"; ![RustRover](/blume-assets/content/public/images/editor-icons/rustrover-128.png) Follow these steps to start tracking your coding time in RustRover with Hackatime. RustRover uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If RustRover is already installed, the setup script also installs the WakaTime plugin for you. Restart RustRover and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. RustRover Settings on the Plugins Marketplace tab with WakaTime in the search results RustRover Settings on the Plugins Marketplace tab with WakaTime in the search results RustRover warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. RustRover with a project open and the WakaTime time in the status bar RustRover with a project open and the WakaTime time in the status bar RustRover status bar showing today's coding time next to the WakaTime icon RustRover status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. RustRover Tools menu with WakaTime Settings at the top RustRover Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked RustRover sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart RustRover. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart RustRover and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # SiYuan Source: https://hackatime.hackclub.com/docs/editors/siyuan ![SiYuan](/blume-assets/content/public/images/editor-icons/siyuan-128.png) Follow these steps to start tracking your coding time in SiYuan with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install SiYuan plugin Follow the detailed plugin installation instructions on the [WakaTime SiYuan page](https://wakatime.com/siyuan). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting SiYuan after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Sketch Source: https://hackatime.hackclub.com/docs/editors/sketch ![Sketch](/blume-assets/content/public/images/editor-icons/sketch-128.png) Follow these steps to start tracking your design work in Sketch with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Sketch plugin Follow the detailed plugin installation instructions on the [WakaTime Sketch page](https://wakatime.com/sketch). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Sketch after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your activity time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy designing! --- # SlickEdit Source: https://hackatime.hackclub.com/docs/editors/slickedit ![SlickEdit](/blume-assets/content/public/images/editor-icons/slickedit-128.png) Follow these steps to start tracking your coding time in SlickEdit with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install SlickEdit plugin Follow the detailed plugin installation instructions on the [WakaTime SlickEdit page](https://wakatime.com/slickedit). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting SlickEdit after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # SQL Server Management Studio Source: https://hackatime.hackclub.com/docs/editors/sql-server-management-studio ![SQL Server Management Studio](/blume-assets/content/public/images/editor-icons/sql-server-management-studio-128.png) Follow these steps to start tracking your coding time in SQL Server Management Studio with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install SQL Server Management Studio plugin Follow the detailed plugin installation instructions on the [WakaTime SQL Server Management Studio page](https://wakatime.com/sql-server-management-studio). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting SQL Server Management Studio after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Sublime Text Source: https://hackatime.hackclub.com/docs/editors/sublime-text import installPackageControlLight from "./images/sublime-text-install-package-control-light.png"; import installPackageControlDark from "./images/sublime-text-install-package-control-dark.png"; import packageControlInstalledLight from "./images/sublime-text-package-control-installed-light.png"; import packageControlInstalledDark from "./images/sublime-text-package-control-installed-dark.png"; import installPackageLight from "./images/sublime-text-install-package-light.png"; import installPackageDark from "./images/sublime-text-install-package-dark.png"; import wakatimePackageLight from "./images/sublime-text-wakatime-package-light.png"; import wakatimePackageDark from "./images/sublime-text-wakatime-package-dark.png"; import statusBarLight from "./images/sublime-text-status-bar-light.png"; import statusBarDark from "./images/sublime-text-status-bar-dark.png"; ![Sublime Text](/blume-assets/content/public/images/editor-icons/sublime-text-128.png) Follow these steps to start tracking your coding time in Sublime Text with Hackatime. The screenshots are from Sublime Text 4 on macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Package Control Skip this step if you already have Package Control. Open the command palette by pressing **Cmd+Shift+P** on Mac or **Ctrl+Shift+P** on Linux and Windows. Type `Install Package Control` and press **Enter**. Sublime Text command palette with the Install Package Control command selected Sublime Text command palette with the Install Package Control command selected After a few seconds, Sublime Text tells you that Package Control was installed. Press **OK**. Dialog saying Package Control was successfully installed Dialog saying Package Control was successfully installed ## Step 4: Install the WakaTime package Open the command palette again, type `Install Package` and choose **Package Control: Install Package**. Sublime Text command palette with Package Control: Install Package selected Sublime Text command palette with Package Control: Install Package selected Wait for the list of packages to load, then search for `wakatime` and press **Enter** on **WakaTime**. Package Control search results showing the WakaTime package Package Control search results showing the WakaTime package The package downloads wakatime-cli in the background, so the status bar shows **WakaTime: Initializing...** for a moment. It reads your API key and Hackatime's server address from the setup script, so you won't be asked for a key. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. If Sublime Text asks for a key, paste the same one. The prompt only saves the key, not the server address. ## Step 5: Check that it's running Open a project folder and edit a file. Your coding time for today appears on the left of the status bar. Sublime Text status bar showing Today: 15m Sublime Text status bar showing Today: 15m Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. ## What gets tracked Sublime Text sends a heartbeat when you edit a file or move the cursor in it, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. The project name comes from the git repository, or from the folder you opened if there's no repository. Files you haven't saved yet aren't tracked. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-install-the-wakatime-package). Then edit a file. Heartbeats can take a few minutes to show up. - **Stuck on "WakaTime: Initializing..."?** The package downloads wakatime-cli from GitHub the first time it runs. Check your connection, wait a while if GitHub is rate limiting your network, then restart Sublime Text. - **Something else?** Open the console with **View → Show Console** and look for lines starting with `[WakaTime]`. - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Swift Playgrounds Source: https://hackatime.hackclub.com/docs/editors/swift-playgrounds ![iPad](/blume-assets/content/public/images/editor-icons/swift-playgrounds-128.png) Follow these steps to start tracking your coding time in Swift Playgrounds or any other iPad apps with Hackatime. _P.S.: If you're tracking any apps that do not save their files to the Files app (e.g. Procreate), this will not work!_ _If you're going to be using Codespaces on your iPad, please switch to the guide on Codespaces, available at the [setup page](https://hackatime.hackclub.com/setup)_ ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Download the app and set it up Start by downloading it from the [TestFlight Link](https://testflight.apple.com/join/xCpuSbPs). You will need to download the [TestFlight App](https://apps.apple.com/us/app/testflight/id899247664) before you use the link to get it. Visit the [setup page](https://hackatime.hackclub.com/my/settings/setup) and copy the `api_key`, `api_url` and `heartbeat_rate_limit_seconds`. This ensures everything works perfectly with Hackatime. ## Step 3: Select your project/folder Hit the "Select folder" button in the middle and enter the directory you're working in and hit the "Done" in the top right or click on the Swift Playgrounds project if you're working on one. ## Step 4: Click start to start tracking! The app will request for your permission to work in the background. We ask this so we can run the app in the background, as Apple has some infamously strict regulations on iPad and iPhone apps. After a while of coding, you should see a heartbeat be passed through, and it will even show a `DEBUG: 202 Request Received` message in the console! ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Wakatime Playgrounds. If the app crashes on you, please contact [@advaitconty on the Hack Club Slack](https://hackclub.slack.com/team/U0794TACKMG) - **Still stuck?** Ask for help from [@advaitconty on Hack Club Slack](https://hackclub.slack.com/team/U0794TACKMG) (DMs) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Terminal Source: https://hackatime.hackclub.com/docs/editors/terminal ![Terminal](/blume-assets/content/public/images/editor-icons/terminal-128.png) Follow these steps to start tracking your coding time in Terminal with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Terminal plugin Run this command in your terminal to install the Hack Club terminal-wakatime plugin: ```bash curl -fsSL https://hack.club/terminal-wakatime.sh | bash ``` This installs `terminal-wakatime` and automatically configures it for bash, zsh, or fish shells. The plugin will use your Hackatime configuration from the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Terminal after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # TeXstudio Source: https://hackatime.hackclub.com/docs/editors/texstudio ![TeXstudio](/blume-assets/content/public/images/editor-icons/texstudio-128.png) Follow these steps to start tracking your coding time in TeXstudio with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install TeXstudio plugin Follow the detailed plugin installation instructions on the [WakaTime TeXstudio page](https://wakatime.com/texstudio). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting TeXstudio after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # TextMate Source: https://hackatime.hackclub.com/docs/editors/textmate ![TextMate](/blume-assets/content/public/images/editor-icons/textmate-128.png) Follow these steps to start tracking your coding time in TextMate with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install TextMate plugin Follow the detailed plugin installation instructions on the [WakaTime TextMate page](https://wakatime.com/textmate). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting TextMate after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Trae Source: https://hackatime.hackclub.com/docs/editors/trae ![Trae](/blume-assets/content/public/images/editor-icons/trae-128.png) Follow these steps to start tracking your coding time in Trae with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Trae plugin Follow the detailed plugin installation instructions on the [WakaTime Trae page](https://wakatime.com/trae). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Trae after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Unity Source: https://hackatime.hackclub.com/docs/editors/unity ![Unity](/blume-assets/content/public/images/editor-icons/unity-128.png) Let's set up Unity to count how much time you spend making games! ## Step 1: Make a Hackatime account Go to **[Hackatime](https://hackatime.hackclub.com)** and make an account. Then log in. ## Step 2: Get your settings ready Click this link to the **[setup page](https://hackatime.hackclub.com/setup)**. It will set up your account so it works with Unity. ## Step 3: Add the plugin to Unity There are a few different Unity plugins. But most of them do not work with the Hackatime API. In light of this, **[Daniel-George](https://github.com/Daniel-Geo)** created a fork of **[Vladfaust's plugin](https://github.com/vladfaust/unity-wakatime)** to work with Hackatime. Here are the instructions: 1. Open Unity Hub and start a project 2. Go to this GitHub page: **[Unity Hackatime Plugin](https://github.com/Daniel-Geo/unity-hackatime)** 3. Copy this text: `https://github.com/daniel-geo/unity-hackatime.git#package` 4. Open your Unity project and click on ***Window > Package Management > Package Manager*** 5. Click the **plus sign** on the top-left-corner of the screen 6. Select "**Install package from git URL...**" 7. Paste the text you copied earlier 8. Click "**Install**" After installing, you will need to grab your Hackatime API key and paste it into the Unity plugin: 1. Open your Unity project 2. Go to ***Window > Hackatime*** 3. Insert your API key into the text field (grab it from the Config File on your settings page: https://hackatime.hackclub.com/my/settings) 4. Click "**Save Preferences**" 5. **You are done!** ### Hackatime should start tracking these events: - DidReloadScripts - EditorApplication.playModeStateChanged - EditorApplication.contextualPropertyMenu - EditorApplication.hierarchyWindowChanged - EditorSceneManager.sceneSaved - EditorSceneManager.sceneOpened - EditorSceneManager.sceneClosing - EditorSceneManager.newSceneCreated ## If something goes wrong **Can't see your time?** Go back to the [setup page](https://hackatime.hackclub.com/setup) and try again. **Plugin not working?** Close Unity and open it again. Or reinstall it using a different method listed on this page: **[Unity Hackatime Plugin](https://github.com/Daniel-Geo/unity-hackatime)** **Package Manager not working?** Make sure you're connected to the internet. **Still having trouble?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) - look for the #hackatime-help channel. ## What happens next Start making your game! Your time will show up on your [Hackatime page](https://hackatime.hackclub.com) in a few minutes. **Special thanks to [Daniel-George](https://github.com/Daniel-Geo) for editing the original plugin for use with Hackatime.** --- # Unreal Engine 4 Source: https://hackatime.hackclub.com/docs/editors/unreal-engine-4 ![Unreal Engine 4](/blume-assets/content/public/images/editor-icons/unreal-engine-4-128.png) This guide will walk you through setting up **Hackatime** to automatically track your game development time in **Unreal Engine 4.27**. This currently only supports Windows systems. --- ## Step 1: Log in to your Hackatime account First, make sure you have a **Hackatime account** and are logged in. If you don't have an account, you can create one at [hackatime.hackclub.com](https://hackatime.hackclub.com). ## Step 2: Download UE4 WakatimeIntegration plugin Visit the [GitHub page](https://github.com/ZXMushroom63/WakatimeIntegration) and download the [latest release](https://github.com/ZXMushroom63/WakatimeIntegration/releases/latest). The file name should be something like `WakatimeIntegration.zip` ## Step 3: Install UE4 WakatimeIntegration plugin 1. First, extract `WakatimeIntegration.zip` 2. Inside should be a single folder called `WakatimeIntegration` containing a `.uplugin` file among others. 3. Copy or move this folder to your Unreal Engine 4.27's plugins folder. The default location is `C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\` ## Step 4: Configure API credentials 1. Startup the editor and load into a project 2. Open the Plugins window (`Edit->Plugins...`) and enable `WakatimeIntegration`. 3. Restart the editor when prompted 4. In editor settings (`Edit->Editor Settings...`) find the WakatimeIntegration category (should be under `Plugins` category) 5. Set the Bearer Token to the API Key found at [https://hackatime.hackclub.com/api-key](https://hackatime.hackclub.com/api-key) 6. Set the Endpoint to `https://hackatime.hackclub.com/api/hackatime/v1` 7. Set the interval to `30`. 8. You may need to manually enable the plugin for each project you wish to track. ## Troubleshooting - **Plugin not working?** - First thing to try is restarting your editor to ensure the plugin loads correctly - If time isn't being checked, check `Output Log` in the engine and look for errors/logs from `Wakatime Integration` - `Failed to establish connection to Wakatime endpoint.`: Make sure the endpoint URL is correct and that your internet connection is working - `Heartbeat failed due to invalid API token (401)`: Make sure the token is correct, it is easy to accidentally skip characters when pasting. - `Heartbeat accepted with code`: Everything should be working smoothly - `Heartbeat failed. Code: *. Response: *`: An unknown error. Look at the logs for more information, or request help in the [Hack Club Slack](https://hackclub.slack.com). - **Plugin/editor crashing?** - This plugin is built for Unreal Engine 4.27, so your editor version may be too old for the prebuilt binaries. - If you really need this version, you can try building the plugin from [source](https://github.com/ZXMushroom63/WakatimeIntegration) ## Building for other platforms / versions of UE4 1. Clone or download the [GitHub repo](https://github.com/ZXMushroom63/WakatimeIntegration) 2. In the editor, create a new blank C++ project with minimal settings, targetting Desktop. This can be found under the games category. - This may take extra platform dependent setup 3. Inside your project folder, create a `Plugins` folder. - `Documents\Unreal Projects\MyProject\` on Windows 4. Move `WakatimeIntegration` (github repo containing `Source` and `.uplugin`) into the new `Plugins` folder. 5. In editor, open the Plugins tab and try to enable `WakatimeIntegration` 6. You should be promped to rebuild the plugin, select 'yes' and wait for the process to complete. 7. Once the build is done, open the plugins tab, search for `WakatimeIntegration`, and select 'package' 8. Package `WakatimeIntegration` to any folder, and wait for the packaging to finish. 9. Resume with `Step 2` in `Part 3: Install UE4 WakatimeIntegration Plugin` Once the plugin is successfully installed, your Unreal Engine 4 projects should start to appear on your [Hackatime dashboard](https://hackatime.hackclub.com)! --- # Vim Source: https://hackatime.hackclub.com/docs/editors/vim ![Vim](/blume-assets/content/public/images/editor-icons/vim-128.png) Let's set up Vim to count how much time you spend coding! ## Step 1: Make a Hackatime account Go to [Hackatime](https://hackatime.hackclub.com) and make an account. Then log in. ## Step 2: Get your settings ready Click this link to the [setup page](https://hackatime.hackclub.com/setup). It will set up your account so it works with Vim. ## Step 3: Add the plugin to Vim ### Easy way (with vim-plug) 1. Add this line to your `.vimrc` file: ```text Plug 'wakatime/vim-wakatime' ``` 2. Save the file and restart Vim 3. Type `:PlugInstall` in Vim and press Enter ### Simple way (copy and paste) Copy and paste this into your terminal: ```bash echo "Plugin 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +PluginInstall ``` That's it! The plugin will use your settings from Step 2. ## If something goes wrong **Can't see your time?** Go back to the [setup page](https://hackatime.hackclub.com/setup) and try again. **Plugin not working?** Close Vim and open it again. **Don't know how to edit .vimrc?** Type `:e ~/.vimrc` in Vim to open it. **Still having trouble?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) - look for the #hackatime-help channel. ## What happens next Start coding! Your time will show up on your [Hackatime page](https://hackatime.hackclub.com) in a few minutes. --- # Visual Studio Source: https://hackatime.hackclub.com/docs/editors/visual-studio ![Visual Studio](/blume-assets/content/public/images/editor-icons/visual-studio-128.png) Follow these steps to start tracking your coding time in Visual Studio with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Visual Studio plugin Follow the detailed plugin installation instructions on the [WakaTime Visual Studio page](https://wakatime.com/visual-studio). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Visual Studio after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # VS Code Source: https://hackatime.hackclub.com/docs/editors/vs-code ![VS Code](/blume-assets/content/public/images/editor-icons/vs-code-128.png) ## Automatic setup 1. Configure your editor by using our [simple installer](https://hackatime.hackclub.com/setup) 2. Restart VS Code and start coding! --- Let's set up VS Code to count how much time you spend coding! ## Step 1: Make a Hackatime account Go to [Hackatime](https://hackatime.hackclub.com) and make an account. Then log in. ## Step 2: Get your settings ready Click this link to the [setup page](https://hackatime.hackclub.com/setup). It will set up your device so it works with Hackatime. ## Step 3: Add the plugin to VS Code 1. Open VS Code 2. Click the squares icon on the left (Extensions) 3. Type "Hackatime Time Tracker" in the search box 4. Click the **Install** button next to Hackatime Time Tracker 5. VS Code might ask you to reload your extensions to get it working - click **Reload Extensions** if it does **Note** Do not install the "Hackatime" extension as it is unofficial and will not work. That's it! The plugin will use your settings from Step 2. ## If something goes wrong **Can't see your time?** Go back to the [setup page](https://hackatime.hackclub.com/setup) and try again. **Plugin not working?** Close VS Code and open it again. **Still having trouble?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) - look for the #hackatime-help channel. ## What happens next Start coding! Your time will show up on your [Hackatime page](https://hackatime.hackclub.com) in a few minutes. --- # WebStorm Source: https://hackatime.hackclub.com/docs/editors/webstorm import editorLight from "./images/webstorm-editor-light.png"; import editorDark from "./images/webstorm-editor-dark.png"; import pluginMarketplaceLight from "./images/webstorm-plugin-marketplace-light.png"; import pluginMarketplaceDark from "./images/webstorm-plugin-marketplace-dark.png"; import thirdPartyNoticeLight from "./images/webstorm-third-party-notice-light.png"; import thirdPartyNoticeDark from "./images/webstorm-third-party-notice-dark.png"; import statusBarLight from "./images/webstorm-status-bar-light.png"; import statusBarDark from "./images/webstorm-status-bar-dark.png"; import toolsMenuLight from "./images/webstorm-tools-menu-light.png"; import toolsMenuDark from "./images/webstorm-tools-menu-dark.png"; import wakatimeSettingsLight from "./images/webstorm-wakatime-settings-light.png"; import wakatimeSettingsDark from "./images/webstorm-wakatime-settings-dark.png"; ![WebStorm](/blume-assets/content/public/images/editor-icons/webstorm-128.png) Follow these steps to start tracking your coding time in WebStorm with Hackatime. WebStorm uses the WakaTime plugin, which works with Hackatime once the setup script has run. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If WebStorm is already installed, the setup script also installs the WakaTime plugin for you. Restart WebStorm and skip to [Step 4](#step-4-check-that-its-running) if **WakaTime** is already listed on the **Installed** tab in **Settings → Plugins**. ## Step 3: Install the WakaTime plugin Open Settings by pressing **Cmd+,** on Mac or **Ctrl+Alt+S** on Linux and Windows. Choose **Plugins**, open the **Marketplace** tab and search for `WakaTime`. Press **Install** next to **WakaTime**. WebStorm Settings on the Plugins Marketplace tab with WakaTime in the search results WebStorm Settings on the Plugins Marketplace tab with WakaTime in the search results WebStorm warns you that WakaTime is a third-party plugin. Press **Accept**. Third-Party Plugins Notice dialog listing WakaTime Third-Party Plugins Notice dialog listing WakaTime When the button changes to **Restart IDE**, press it and confirm with **Restart**. ## Step 4: Check that it's running Open a project and start typing. Your coding time for today appears in the status bar at the bottom of the window, next to the WakaTime icon. WebStorm with a project open and the WakaTime time in the status bar WebStorm with a project open and the WakaTime time in the status bar WebStorm status bar showing today's coding time next to the WakaTime icon WebStorm status bar showing today's coding time next to the WakaTime icon Your time will also appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. The plugin reads your API key and Hackatime's server address from the setup script. If you skipped Step 2, open `~/.wakatime.cfg` (`%USERPROFILE%\.wakatime.cfg` on Windows) in a text editor and add both. Use the API key from your [Hackatime settings](https://hackatime.hackclub.com/my/settings): ```ini title="~/.wakatime.cfg" [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY heartbeat_rate_limit_seconds = 30 ``` Without `api_url`, your time is sent to WakaTime instead of Hackatime. [Plugin settings](/docs/configuration/plugin-settings) lists the other options. To check which key the plugin is using, open **Tools → WakaTime Settings**. WebStorm Tools menu with WakaTime Settings at the top WebStorm Tools menu with WakaTime Settings at the top **API key** should match the key in your Hackatime settings. You can change the key here, but the server address can only be set in `~/.wakatime.cfg`. WakaTime Settings dialog with the API key field WakaTime Settings dialog with the API key field ## What gets tracked WebStorm sends a heartbeat when you open or switch to a file, edit it, move the cursor or scroll, at most once every two minutes for the same file, and every time you save. Your project, branch, language, line and cursor position come along with it. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, or that `~/.wakatime.cfg` has both `api_url` and `api_key` from [Step 4](#step-4-check-that-its-running). Then edit a file. Heartbeats can take a few minutes to show up. - **Can't find WakaTime Settings?** The plugin isn't loaded. Check that WakaTime is enabled on the **Installed** tab in **Settings → Plugins**, then restart WebStorm. - **Something else?** Tick **Debug** in **Tools → WakaTime Settings**, restart WebStorm and look for WakaTime messages in **Help → Show Log in Finder** (**Show Log in Explorer** on Windows; on Linux the item is named after your file manager). - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Windsurf Source: https://hackatime.hackclub.com/docs/editors/windsurf ![Windsurf](/blume-assets/content/public/images/editor-icons/windsurf-128.png) Follow these steps to start tracking your coding time in Windsurf with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Windsurf plugin Follow the detailed plugin installation instructions on the [WakaTime Windsurf page](https://wakatime.com/windsurf). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Windsurf after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Wing Source: https://hackatime.hackclub.com/docs/editors/wing ![Wing](/blume-assets/content/public/images/editor-icons/wing-128.png) Follow these steps to start tracking your coding time in Wing with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install Wing plugin Follow the detailed plugin installation instructions on the [WakaTime Wing page](https://wakatime.com/wing). The WakaTime plugin will automatically use your Hackatime configuration after running the setup script. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first - **Plugin not working?** Try restarting Wing after installation - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Xcode Source: https://hackatime.hackclub.com/docs/editors/xcode ![Xcode](/blume-assets/content/public/images/editor-icons/xcode-128.png) Follow these steps to start tracking your coding time in Xcode with Hackatime. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. ## Step 3: Install the Xcode plugin Run this command in your terminal to install the Hack Club xcode-hackatime plugin: ```bash curl -fsSL https://raw.githubusercontent.com/hackclub/xcode-hackatime/main/install.sh | bash ``` This installs `xcode-hackatime`, a background agent that tracks your Xcode coding time (file, line, cursor position, and saves) using your Hackatime config from the setup script. It's super lightweight and uses ~6MB of RAM, so you don't have to worry about battery/RAM usage! ## Step 4: Grant Accessibility permission To track things like what line you're on, we use macOS's Accessibility APIs! This means that macOS will ask you to allow xcode-hackatime to use them: **System Settings -> Privacy & Security -> Accessibility -> enable `xcode-hackatime`**. You'll probably see a window like this to help you through it: ![Screenshot of "One step to start tracking Xcode" window](/blume-assets/content/docs/editors/images/xcode-onboarding.png) That's it - the agent starts at login and follows Xcode automatically! ## Troubleshooting **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first. **Something not working?** Run `~/.wakatime/xcode-hackatime doctor` - it checks every part of the tracking chain and prints a fix for anything broken. **Previously used the WakaTime Mac app?** xcode-hackatime turns off its Xcode tracking automatically so your time is not double-counted (you'll get a notification when that happens). **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Zed Source: https://hackatime.hackclub.com/docs/editors/zed import commandPaletteLight from "./images/zed-command-palette-light.png"; import commandPaletteDark from "./images/zed-command-palette-dark.png"; import extensionsSearchLight from "./images/zed-extensions-search-light.png"; import extensionsSearchDark from "./images/zed-extensions-search-dark.png"; import extensionCardLight from "./images/zed-extension-card-light.png"; import extensionCardDark from "./images/zed-extension-card-dark.png"; import restrictedModeLight from "./images/zed-restricted-mode-light.png"; import restrictedModeDark from "./images/zed-restricted-mode-dark.png"; import languageServersLight from "./images/zed-language-servers-light.png"; import languageServersDark from "./images/zed-language-servers-dark.png"; ![Zed](/blume-assets/content/public/images/editor-icons/zed-128.png) Follow these steps to start tracking your coding time in Zed with Hackatime. The screenshots are from macOS, but the steps are the same on Linux and Windows. ## Step 1: Log into Hackatime Make sure you have a [Hackatime account](https://hackatime.hackclub.com) and are logged in. ## Step 2: Run the setup script Visit the [setup page](https://hackatime.hackclub.com/setup) to automatically configure your API key and endpoint. This ensures everything works perfectly with Hackatime. If Zed is already installed, the setup script also tells Zed to install the Hackatime extension the next time it starts. Restart Zed and skip to [Step 4](#step-4-trust-your-project) if the extension shows up as installed. ## Step 3: Install the Hackatime extension Open the Extensions page by pressing **Cmd+Shift+X** on Mac or **Ctrl+Shift+X** on Linux and Windows. You can also open the command palette (**Cmd+Shift+P** or **Ctrl+Shift+P**) and run **zed: extensions**. Zed command palette with the zed: extensions command selected Zed command palette with the zed: extensions command selected Search for `hackatime` and press **Install** on the extension called **hackatime**. Its extension ID is `hackatime`. Zed Extensions page showing the hackatime extension with an Install button Zed Extensions page showing the hackatime extension with an Install button Once it's installed, the button changes to **Uninstall**. The installed hackatime extension with an Uninstall button The installed hackatime extension with an Uninstall button You can also install it from your Zed settings file. Run **zed: open settings file** from the command palette and add: ```json { "auto_install_extensions": { "hackatime": true } } ``` You only need this extension. If you also have the WakaTime extension installed, uninstall it so your time isn't sent twice. ## Step 4: Trust your project Zed opens projects you haven't used before in Restricted Mode, which stops language servers from running. The Hackatime extension is a language server, so nothing is tracked until you trust the project. Press **Trust and Continue** when Zed asks. Zed's Unrecognized Project dialog with the Trust and Continue button Zed's Unrecognized Project dialog with the Trust and Continue button Tick **Trust all projects in** to trust every project in that folder at once. If you see **Restricted Mode** in the title bar, click it to trust the project you have open. ## Step 5: Check that it's running Open a file and click the lightning bolt in the bottom-left corner. **hackatime** should be listed with a green dot. Zed's language server menu showing hackatime running Zed's language server menu showing hackatime running Start typing and your time will appear on your [Hackatime dashboard](https://hackatime.hackclub.com) within a few minutes. ## What gets tracked Zed sends a heartbeat when you edit a file, at most once every two minutes for the same file. Your project, branch, language, line and cursor position come along with it. Opening or saving a file without editing it isn't tracked and neither are files in languages the extension doesn't support, such as plain text. ## Troubleshooting - **Not seeing your time?** Make sure you completed the [setup page](https://hackatime.hackclub.com/setup) first, then edit a file. Heartbeats can take a few minutes to show up. - **No hackatime in the language server menu?** Check the title bar for **Restricted Mode** and trust the project. - **"Failed to run hackatime" in the status bar?** Click it to see the error. The extension downloads its helper programs from GitHub the first time it runs, so check your connection and restart Zed. - **Plugin not working?** Try restarting Zed after installation. - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel). ## Next steps Once configured, your coding time will automatically appear on your [Hackatime dashboard](https://hackatime.hackclub.com). Happy coding! --- # Install an editor plugin Source: https://hackatime.hackclub.com/docs/getting-started/installation Here's how to add WakaTime plugins to your code editor so Hackatime can track your coding time. ## What you need Before you start, make sure you have: - A code editor (like VS Code, PyCharm, Vim, etc.) - A [Hackatime account](https://hackatime.hackclub.com) ## Step 1: Do the automated setup **First, use our automated [setup tutorial](https://hackatime.hackclub.com/setup)!** It automatically sets up your API key and endpoint so everything works perfectly. ## Step 2: Add WakaTime plugin After doing the automated setup, install the WakaTime plugin for your editor. Visit our [editor documentation](https://hackatime.hackclub.com/docs#editor-guides) for instructions on how to install a WakaTime plugin for your specific editor. ## Already have the plugin installed? If you already have a WakaTime plugin, just run the [setup page](https://hackatime.hackclub.com/setup) to switch it to Hackatime. It will automatically update your settings. ## Check if it's working After setup, start coding! Your time will show up on your [Hackatime dashboard](https://hackatime.hackclub.com) in a few minutes. ## Need help? - **Not seeing your time?** Make sure the API URL is set correctly - **Plugin not working?** Try closing and opening your editor again - **Still stuck?** Ask for help in [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) --- # Quick start Source: https://hackatime.hackclub.com/docs/getting-started/quick-start Get up and running with Hackatime in under 5 minutes! Start tracking your coding time across 40+ editors with our free, open source time tracker built by Hack Club. ## What is Hackatime? **Hackatime** is a **free and open source** alternative to WakaTime that automatically tracks your coding time across all your favorite editors and IDEs. It works with **every existing WakaTime editor plugin** by simply configuring your `~/.wakatime.cfg` file to point to Hackatime's servers instead of WakaTime's. ## Step 1: Create your account Visit [hackatime.hackclub.com](https://hackatime.hackclub.com) and sign up using: - **Sign in with Hack Club** using your Hack Club Account - Your Hack Club Slack account - Email address ## Step 2: Run automated setup 🚀 **Visit the [Hackatime Setup Page](https://hackatime.hackclub.com/setup)** - this will: 1. Auto-detect your operating system 2. Provide a copy-paste command that configures everything 3. Create your `~/.wakatime.cfg` file pointing to Hackatime 4. Send a test heartbeat (Heartbeat: A small activity event your editor plugin sends to Hackatime while you code. It carries metadata like the file name and language, never your code.) to verify setup 5. Show you when it's working! The setup page handles all configuration automatically - no manual editing required! ## Step 3: Install WakaTime plugin Hackatime works with **any WakaTime plugin**. Visit our [editor documentation](https://hackatime.hackclub.com/docs#editor-guides) for instructions on how to install a WakaTime plugin for your specific editor. ## Step 4: Configure plugin to use Hackatime **If you used the setup page**: Your `~/.wakatime.cfg` is already configured! The WakaTime plugin will automatically use Hackatime. **Manual configuration**: Edit `~/.wakatime.cfg`: ```ini [settings] api_url = https://hackatime.hackclub.com/api/hackatime/v1 api_key = YOUR_API_KEY_HERE heartbeat_rate_limit_seconds = 30 ``` ## Step 5: Start coding! That's it! Open your editor and start coding. Your time will be automatically tracked and appear on your [Hackatime dashboard](https://hackatime.hackclub.com). ## Verification Check that it's working: 1. Code for a few minutes in your editor 2. Visit your [dashboard](https://hackatime.hackclub.com) 3. You should see your coding activity appear ## Features you get - ⏱️ **Automatic time tracking** - no manual timers - 📊 **Language & project insights** - see what you code most - 🏆 **Leaderboards** - compare with other Hack Club members - 🔒 **Privacy-first** - only metadata tracked, never your actual code - 🆓 **Completely free** - no premium features or paywalls ## Troubleshooting **Not seeing activity?** 1. Re-run the [setup page](https://hackatime.hackclub.com/setup) to verify configuration 2. Check that your WakaTime plugin is enabled in your editor 3. Make sure you're actively coding (not just viewing files) **Need help?** - Visit the [Hackatime Setup Page](https://hackatime.hackclub.com/setup) for guided troubleshooting - Join [Hack Club Slack](https://hackclub.slack.com) (#hackatime-help channel) - [Create an issue](https://github.com/hackclub/hackatime/issues) on GitHub **Migrating from WakaTime?** Just run the automated setup script on the [Hackatime Setup Page](https://hackatime.hackclub.com/setup) - it will automatically update your `~/.wakatime.cfg` file and all your existing plugins will work immediately! --- ## Frequently asked questions **Is Hackatime really free?** Yes! Hackatime is completely free with no premium features or paywalls. It's [open source](https://github.com/hackclub/hackatime) and maintained by Hack Club. **Which editors work with Hackatime?** All [70+ editors](/docs#editor-guides) that support WakaTime work with Hackatime, including [VS Code](/docs/editors/vs-code), [IntelliJ IDEA](/docs/editors/intellij-idea), [Sublime Text](/docs/editors/sublime-text), [Vim](/docs/editors/vim), [Neovim](/docs/editors/neovim), [PyCharm](/docs/editors/pycharm), and many more. **How is Hackatime different from WakaTime?** Hackatime is free, open source, privacy-focused, and includes unique features like leaderboards for Hack Club members. **Can I import my existing WakaTime data?** Yes! Open [Settings → Imports & Exports](https://hackatime.hackclub.com/my/settings/imports_exports), choose **WakaTime** under **Imports**, and enter your WakaTime API key to request a one-time heartbeat dump. You can follow the import's progress on that page. **Is my code data secure?** Hackatime only tracks metadata (file names, languages, project names) - never your actual code content. All data is encrypted in transit. --- # OAuth apps Source: https://hackatime.hackclub.com/docs/oauth/oauth-apps Build integrations with Hackatime using OAuth 2.0. Create an OAuth app to let users authorize your application to access their Hackatime data. ## Creating an OAuth app 1. Sign in to your Hackatime account 2. Go to [My OAuth Apps](https://hackatime.hackclub.com/oauth/applications) 3. Click **New Application** 4. Fill in the form: - **Name** - a human-readable name for your app (shown on the consent screen) - **Redirect URIs** - one URI per line where users are sent after authorizing (e.g. `https://sinerider.com/auth/callback`) - **Scopes** - the permissions your app needs (see [Scopes](#scopes) below) - **Confidential** - check this if your app can keep a client secret safe (server-side apps). Leave unchecked for native/mobile/SPA apps. 5. Click **Submit** After creation you will see your **Client ID** (UID) and **Client Secret**! ## Scopes Scopes control what data your app can access. It's a good idea to only request the scopes you need! | Scope | Description | Granted by Default | |-------|-------------|-------------------| | `profile` | Access basic profile information (user ID, email addresses, Slack ID, GitHub username, trust factor) | Yes | | `read` | View basic info about the user's Hackatime account | No | | `admin` | Access the [Admin API](#admin-api-access) on the authorizing user's behalf, subject to their role permissions. | No | If you don't specify any scopes, only the `profile` scope is granted. When requesting scopes in the authorization URL, separate multiple scopes with spaces: ``` scope=profile+read ``` ### Admin scope restrictions - Only **admin+** users (`admin`, `superadmin`, `ultraadmin`) can attach the `admin` scope to an OAuth application. - **Viewers and admin+ users** (`viewer`, `admin`, `superadmin`, `ultraadmin`) can authorize an approved application requesting the `admin` scope. The token does not grant permissions beyond the authorizing user's role. - Apps with the `admin` scope must be **confidential** (server-side clients that can keep a secret). - **This scope requires approval from Hack Club HQ to use.** It won't work if you try to use it without permission! ## Authorization flow Hackatime supports the standard **Authorization Code** flow. PKCE (Proof Key for Code Exchange) is also supported for public clients. ### Step 1: Redirect users to authorize endpoint Send users to the authorization endpoint: ``` GET https://hackatime.hackclub.com/oauth/authorize ``` **Parameters:** | Parameter | Required | Description | |-----------|----------|-------------| | `client_id` | Yes | Your app's UID | | `redirect_uri` | Yes | Must match one of your registered redirect URIs | | `response_type` | Yes | Set to `code` | | `scope` | No | Space-separated list of scopes (defaults to `profile`) | | `state` | Recommended | A random string to prevent CSRF attacks. You should verify this matches when the user is redirected back. | | `code_challenge` | For PKCE | The code challenge for PKCE | | `code_challenge_method` | For PKCE | The method used to generate the challenge (e.g. `S256`) | **Example:** ``` https://hackatime.hackclub.com/oauth/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=https://sinerider.com/auth/callback&response_type=code&scope=profile+read&state=random_string ``` ### Step 2: Handle the callback After the user authorizes (or denies), they are redirected to your `redirect_uri` with a `code` parameter: ``` https://sinerider.com/auth/callback?code=AUTHORIZATION_CODE&state=random_string ``` If the user denies authorization, the callback includes an `error` parameter instead. ### Step 3: Exchange the code for a token Make a `POST` request to the token endpoint to exchange the authorization code for an access token: ``` POST https://hackatime.hackclub.com/oauth/token ``` **Parameters (form-encoded body):** | Parameter | Required | Description | |-----------|----------|-------------| | `client_id` | Yes | Your app's UID | | `client_secret` | Yes (confidential apps) | Your app's secret | | `code` | Yes | The authorization code from the callback | | `redirect_uri` | Yes | Must match the URI used in the authorization request | | `grant_type` | Yes | Set to `authorization_code` | | `code_verifier` | For PKCE | The original code verifier if you used PKCE | **Example response:** ```json { "access_token": "abc123...", "token_type": "Bearer", "expires_in": 504911232, "scope": "profile read", "created_at": 1700000000 } ``` Access tokens are long-lived (approximately 16 years) so you typically don't need to worry about refreshing them. Unless, of course, you want your Hackatime app to keep working after 16 years... ### Step 4: Make API requests Use the access token in the `Authorization` header: ``` GET https://hackatime.hackclub.com/api/v1/authenticated/me Authorization: Bearer YOUR_ACCESS_TOKEN ``` ### Admin API access With a token that includes the `admin` scope, call Admin API endpoints the same way (instead of minting an Admin API key): ``` GET https://hackatime.hackclub.com/api/admin/v1/check Authorization: Bearer YOUR_ACCESS_TOKEN ``` ## OAuth-authenticated API endpoints All endpoints below require a valid OAuth access token in the `Authorization: Bearer ` header. ### GET /api/v1/authenticated/me **Required scope:** `profile` Returns information about the authenticated user. **Response:** ```json { "id": 123, "emails": ["liam@sinerider.com"], "slack_id": "U059VC0UDEU", "github_username": "liamcal", "trust_factor": { "trust_level": "green", "trust_value": 2 } } ``` ### GET /api/v1/authenticated/hours **Required scope:** `read` Returns total coding time for a date range. **Query parameters:** | Parameter | Default | Description | |-----------|---------|-------------| | `start_date` | 7 days ago | Start date (YYYY-MM-DD) | | `end_date` | Today | End date (YYYY-MM-DD) | **Response:** ```json { "start_date": "2025-01-01", "end_date": "2025-01-07", "total_seconds": 36000 } ``` ### GET /api/v1/authenticated/streak **Required scope:** `read` Returns the user's current coding streak. **Response:** ```json { "streak_days": 14 } ``` ### GET /api/v1/authenticated/projects **Required scope:** `read` Returns the user's projects with time totals. **Query parameters:** | Parameter | Default | Description | |-----------|---------|-------------| | `include_archived` | `false` | Set to `true` to include archived projects | **Response:** ```json { "projects": [ { "name": "my-project", "total_seconds": 72000, "most_recent_heartbeat": "2025-01-07T15:30:00Z", "languages": ["Ruby", "JavaScript"], "archived": false } ] } ``` ### GET /api/v1/authenticated/heartbeats/latest **Required scope:** `read` Returns the user's most recent heartbeat. **Response:** ```json { "id": 456, "created_at": "2025-01-07T15:30:00Z", "time": 1736264400.0, "category": "coding", "project": "my-project", "language": "Ruby", "editor": "VS Code", "operating_system": "Mac", "machine": "MacBook-Pro", "entity": "app/models/user.rb" } ``` If the user has no heartbeats (excluding setup test entries), the endpoint returns **200 OK** with: ```json { "heartbeat": null } ``` ### GET /api/v1/authenticated/api_keys This endpoint does not require a specific OAuth scope beyond a valid access token. Returns the user's Hackatime API key (creates one if none exists). **Response:** ```json { "token": "abc123..." } ``` ## Revoking access ### As a user Users can revoke access to your app at any time: 1. Go to [Privacy & Security](https://hackatime.hackclub.com/my/settings/privacy#authorized_applications) 2. Click **Revoke** next to the app ### Programmatically You can revoke a token by calling the revoke endpoint: ``` POST https://hackatime.hackclub.com/oauth/revoke ``` **Parameters:** | Parameter | Required | Description | |-----------|----------|-------------| | `token` | Yes | The access token to revoke | | `client_id` | Yes | Your app's UID | | `client_secret` | Yes (confidential apps) | Your app's secret | ## PKCE for public clients If your app cannot securely store a client secret (mobile apps, desktop apps, SPAs), use PKCE: 1. Generate a random `code_verifier` (43-128 characters, URL-safe) 2. Create a `code_challenge` by computing `BASE64URL(SHA256(code_verifier))` 3. Include `code_challenge` and `code_challenge_method=S256` in the authorization URL 4. Include `code_verifier` when exchanging the code for a token You can also leave the **Confidential** checkbox unchecked and omit the `client_secret` in your token requests. ## App verification New OAuth apps are marked as **unverified**. Unverified apps trigger a warning on the consent screen telling users the app has not been reviewed. To get your app verified, shoot Mahad a DM on the Slack! Verified apps: - Don't show an "unverified" warning during authorization - Have their name locked to prevent impersonation (only admins can rename them) ## Need help? - Check the [interactive API docs](https://hackatime.hackclub.com/api-docs) for full endpoint details. - Ask in [#hackatime-help](https://hackclub.slack.com/archives/C07MQ845X1F) on Slack. - [Open an issue](https://github.com/hackclub/hackatime/issues) on GitHub. --- # VS Code stuck on initialising Source: https://hackatime.hackclub.com/docs/troubleshooting/hackatime-stuck-initialised If the Hackatime VS Code extension is stuck on "Initialising" on Windows, your antivirus or Windows Security may be quarantining the Wakatime executable. ## The fix? Making sure that your security / antivirus software isn't quarantining hackatime! You'll know you have this error if you see this in the bottom of your VS Code. Even after you start typing some code! ![Hackatime Initialising](/blume-assets/content/docs/troubleshooting/images/vscode-stuck-initialising.png) To double check this is the issue go to your `.wakatime` folder. (`CTRL - R`, enter `%USERPROFILE%` and it should be there) ![wakatime folder](/blume-assets/content/docs/troubleshooting/images/wakatime-folder.png) If this wakatime folder doesn't contain a `.exe` you have this issue. To fix this go to **Windows Security**: Start -> **Windows Security**. ![Windows Security](/blume-assets/content/docs/troubleshooting/images/windows-security.png) Then go to **Virus and Threat Protection** and click on **Protection History**. ![Protection History](/blume-assets/content/docs/troubleshooting/images/protection-history.png) Once you're in there try to look for an application called `wakatime`, and then try to create an "Exclusion" for it, using the three dots.