Alfred workflow to convert a Discord snowflake to time

Overview

Snowcord for Alfred

Takes a Discord snowflake and converts it to a time (UTC, local and Unix timestamp).

demo

Also connects with Alfred-Whencord

demo-whencord

Download

Download the latest release here.

Note: Written for Alfred 4+. Alfred's Clipboard History must be enabled.

MacOS Monterey beta users: Some stock packages have been removed from MacOS Monterey; this includes php. If you are using MacOS Monterey, I'd generally recommend installing Homebrew. Then it's as simple as: brew install php.

Usage

  • dd <snowflake> — Convert a Discord snowflake to a time
  • ⌘d — Quickly launch from Discord (Discord application must be the front most window)
    • uses text selection within Discord (if highlighted text is a valid snowflake); or
    • uses the contents of the clipboard (if a valid snowflake)

Configuration

There are a few options in the workflow's configuration sheet. You do not need to configure anything, but these options exist if you would like to alter time formats.

Option Meaning
localTimezone For local time, use a different timezone than your system clock. If left blank, your system timezone will be used automatically.
The below variables all use PHP DateTime.
copyFormat When you select an item in the list, the time will be copied to your clipboard in this format.
copyLocalFormat Same as copyFormat above, except for local time.
format The main title format of the date and time displayed.
formatFull The detailed subtitle format of the date and time displayed.
localFormat Same as format above, except for local time.
localFormatFull Same as formatFull above, except for local time.
usingWhencord If you're using my Alfred-Whencord workflow, you can set this to 1. When enabled, this will show you an additional option to pass a snowflake through to Whencord to create a dynamic timestamp for posting on Discord.

License

Alfred-Snowcord is released under the MIT Licence.

You might also like...
An easy code to send messages on a discord text channel with webhook.

Status Webhook-Discord An easy code to send messages on a discord text channel with webhook. Don't forget to check the latest version of Webhook-Disco

[Virion] A library that helps you use Discord Webhook
[Virion] A library that helps you use Discord Webhook

DiscordHelper How to register Web Hook URL How to register Web Hook URL use NewThing\DiscordHelper\DiscordHelper; DiscordHelper::setURL($YourWebHookU

PocketMine-MP To Discord Chat Logging.
PocketMine-MP To Discord Chat Logging.

Welcome To PocketCord PocketCord is a PocketMine-MP plugin designed to link discord and your PocketMine-MP Server with quick and easy setup! Installat

An easy-to-use API for Discord webhook
An easy-to-use API for Discord webhook

WebhookAPI An easy-to-use API for Discord webhook İmage: Example Add use use ayd1ndemirci\WebhookAPI; Usage: $webhook = "your_discord_webhook_url";

This package is aimed to be a simplistic PHP workflow package that works in a similar fashion to GitHub Actions.

Workflow This package is aimed to be a simplistic PHP workflow package that works in a similar fashion to GitHub Actions. Installation To install this

The Workflow Package add Drag & Drop Workflows to your Laravel Application.
The Workflow Package add Drag & Drop Workflows to your Laravel Application.

Workflows add Drag & Drop automation's to your Laravel application. The Workflow Package adds Drag & Drop Workflows to your Laravel Application. A Wor

ApiFlow is an open-source workflow engine

About apiFlow This project is built using Laravel 5.8 apiFlow is an open-source workflow engine designed to ease the implementation of business requir

A PHP component to convert HTML into a plain text format

html2text html2text is a very simple script that uses DOM methods to convert HTML into a format similar to what would be rendered by a browser - perfe

A PHP library to convert text to speech using various services

speaker A PHP library to convert text to speech using various services

Comments
  • php: command not found

    php: command not found

    Hi there,

    I installed snowcord but unfortunately I am getting the following error when using it:

    Code 127: /Users/fs/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/2BC30EB7-4AA4-446F-B50E-858C993FDD68: line 2: php: command not found
    

    Do you have an idea why that is happening?

    Appreciate your help!

    opened by fabston 3
Releases(1.0.2)
Owner
I'm not sleepy, and there's no place I'm going to.
null
An Alfred 4 workflow for quickly opening directories in Visual Studio Code

Alfred Workflow - Open in Visual Studio Code An Alfred 4 workflow opening files or folders with Visual Studio Code. Note: Alfred Powerpack is required

Daan Hage 2 Jun 27, 2022
An ultra-fast Laravel docs search workflow for Alfred 3+.

Laravel Docs Workflow for Alfred An ultra-fast Laravel docs search workflow for Alfred 3+. Installation Download the latest version Install the workfl

Till Krüss 317 Dec 21, 2022
This Repository contains a custom Workflow for Alfred which provides the function to instantly search in the Magento 2 DevDocs

Introduction Add the custom search to your Alfred Workflow and have a quicker access to the Magento 2 DevDocs. Installation Just download the alfredwo

David Lambauer 10 Jun 29, 2022
A fast Directus docs search workflow for Alfred

Directus Docs Workflow for Alfred A fast Directus docs search workflow for Alfred. Adapted from Tailwind CSS Docs, which is adapted from Alfred VueJS

null 2 Aug 28, 2022
Allow any Discord user to sign in to your website and save their discord user information for later use.

Simple Discord SSO ( Single Sign-On ) Requires at least: 5.0 Tested up to: 5.8.3 Stable tag: 1.0.2 Requires PHP: 7.4 License: GPLv2 or later License U

null 2 Oct 7, 2022
❄️ Magento 2 Snowflake module allow you to add snow and even more on your site and make winter fun.

❄️ Magento 2 Snowflake module allow you to add snow and even more on your site and make winter fun.

OpenGento 6 Apr 30, 2022
Quickly and easily preview and test your Magento 2 order confirmation page, without hacks or spending time placing new order each time

Preview Order Confirmation Page for Magento 2 For Magento 2.0.x, 2.1.x, 2.2.x and 2.3.x Styling and testing Magento's order confirmation page can be a

MagePal :: Magento Extensions 71 Aug 12, 2022
A Discord Webhook Application with the Coinbase API

Ein PHP-Skript um einen Kryptowährungspreis in Discord darzustellen. Installation Windows Voraussetzungen Docker vollständig installiert Discord und e

Nevah 3 Oct 15, 2022
This is a clone of Discord's homepage built using Wordpress.

Discord-UI-Clone Description This is a clone of Discord's homepage built using Wordpress, it is configured to run on the Pantheon platform. Live Demo

Abir Bouhriz Daidj 8 Aug 21, 2022