Skip to content
some-du6ePublic

About

No description, website, or topics provided.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Clack

Clack is a fast Slack client for the desktop, written in Go with a native, GPU-rendered window (Gio). There is no browser, no JavaScript and no Electron: one small binary draws every pixel itself. It copies the 2026 Slack desktop client and is built for the Hack Club Slack (Enterprise Grid). Other workspaces work too.

Install

Download the file for your system from the latest GitHub Release. <ver> below is the version without the v, e.g. 0.3.1.

system file
macOS 11+ (Apple Silicon and Intel) Clack-<ver>-macos-universal.dmg (or .zip)
Windows 10/11 x64, installer Clack-<ver>-windows-amd64-setup.exe
Windows 10/11, portable Clack-<ver>-windows-amd64.zip (-arm64.zip for ARM)
Linux, any distro Clack-<ver>-x86_64.AppImage (-aarch64 for ARM)
Debian 12+, Ubuntu 22.04+ clack_<ver>_amd64.deb (_arm64)
Fedora clack-<ver>.x86_64.rpm (.aarch64)

None of the builds are signed by Apple or Microsoft, so both systems warn the first time you open Clack. The steps below get past that.

macOS

Open the .dmg and drag Clack onto Applications. With the .zip, unzip it and move Clack.app to /Applications.

The app has only an ad-hoc signature and isn't notarized, so the first launch says Apple "could not verify" it. Do one of these once:

  • Right-click (or Control-click) Clack in Applications, choose Open, then Open again. (macOS 15 and later don't offer this.)
  • Try to open Clack, then go to System Settings → Privacy & Security, scroll down and click Open Anyway.
  • In Terminal: xattr -dr com.apple.quarantine /Applications/Clack.app

The app declares the slack:// scheme, so macOS can send Slack links to it. If the official Slack app is installed too, macOS picks one of the two.

Windows

Installer: run Clack-<ver>-windows-amd64-setup.exe. It installs for your user only (no admin prompt) into %LocalAppData%\Programs\Clack, adds a Start Menu entry and registers Clack for slack:// links (below). A box makes Clack their default too (off by default: the Slack desktop app claims them as well). A desktop shortcut is optional. Uninstall from Settings → Apps; it removes only Clack's keys. Running a newer installer upgrades in place.

Portable: unzip Clack-<ver>-windows-amd64.zip anywhere and run Clack.exe.

slack:// links on Windows. Every start registers the running Clack.exe for slack:// links, for your user only (HKCU, no admin): a Clack.slack ProgID, Software\Clack\Capabilities with URLAssociations\slack, and Software\RegisteredApplications\Clack, the registration Microsoft's Default Programs describes. Windows then lists Clack in its "Select an app to open this 'slack' link" box and in Settings → Apps → Default apps (on Windows 11, start ms-settings:defaultapps?registeredAppUser=Clack opens Clack's page there). Clack also becomes what runs when Windows doesn't ask, but only if no other app has slack://. Clack.exe -register-url-handler (or the installer's "Make Clack the default for slack:// links" box) makes Clack that default anyway, and -unregister-url-handler removes Clack's keys and leaves other apps' alone. Neither changes an app you picked with Always in Windows' box, which Windows protects. Change that one in Settings → Apps → Default apps → Choose defaults by link type (at the bottom of the page) → SLACK, and pick Clack; typing slack in the page's "Set a default for a file type or link type" box finds it too (Microsoft Support, "Change default apps in Windows").

The files aren't code-signed, so SmartScreen may say "Windows protected your PC". Click More info → Run anyway.

Linux

AppImage (no install):

chmod +x Clack-<ver>-x86_64.AppImage
./Clack-<ver>-x86_64.AppImage

The AppImage mounts itself with FUSE (fusermount3 from the fuse3 package, which most desktops already have). If FUSE isn't available, run it with --appimage-extract-and-run.

Debian/Ubuntu:

sudo apt install ./clack_<ver>_amd64.deb

Fedora:

sudo dnf install ./clack-<ver>.x86_64.rpm

The packages put clack in /usr/bin, add Clack to the application menu and declare it as a slack:// handler. If another app already handles slack:// links, make Clack the default with xdg-mime default clack.desktop x-scheme-handler/slack.

Clack needs a Wayland or X11 desktop with OpenGL ES/EGL (Mesa is fine). The packages pull in the libraries; for the AppImage on a minimal system, see packaging/linux/README.md for the package names on Debian/Ubuntu, Fedora and Arch. Desktop notifications use the standard org.freedesktop.Notifications D-Bus service that every desktop provides.

Check the download

Each release has a SHA256SUMS file. Put it next to the files you downloaded and run:

sha256sum -c --ignore-missing SHA256SUMS        # Linux
shasum -a 256 -c --ignore-missing SHA256SUMS    # macOS

On Windows, compare Get-FileHash Clack-<ver>-windows-amd64-setup.exe (PowerShell) with the line in SHA256SUMS.

Development builds

Every commit is also built on the Actions page: open a run and download an artifact from the bottom of the page (needs a GitHub login). These are bare binaries (clack-linux-amd64, clack-windows-amd64.exe, clack-darwin-arm64) with no installer. Run them the same way; on macOS, clear the quarantine flag first with xattr -d com.apple.quarantine clack-darwin-arm64.

What it looks like

These are screenshots of clack demo (Try the demo), so everyone and everything in them is made up: Quillfeather Paper Co., its people, their messages and the files they share. No real workspace appears in this repo. CI takes them (TestDemoReadmeShots in the demo workflow) and they live in docs/screenshots.

Light Dark
The main window #sales-leaderboard in light mode #sales-leaderboard in dark mode
A thread a thread in #it-help, light a thread in #it-help, dark
Activity Activity, light Activity, dark
A huddle the huddle in #party-planning-crew, light the huddle in #party-planning-crew, dark

In words:

  • The window is Slack's 2026 layout on Slack's aubergine background (the same radial-plus-conic gradient). Along the top is a 40 px bar with back/forward/history buttons, a wide "Search " pill and a help button.
  • The left rail (70 px) has the workspace icon, then Home, DMs, Activity, Files, To-dos and Agents & tools with unread badges. At the bottom sit a + button, the light/dark toggle and your avatar with a presence dot.
  • The sidebar (resizable, 232 px by default) starts with the team name in heavy type, settings and compose buttons, and a "Find a conversation…" box. Below that come Threads, Huddles, Drafts & sent, Saved and Directories, then your sections (Starred, Channels, Direct messages, Apps, custom ones). Unread conversations are bold white, mentions get lilac badges, and DMs show avatars, presence and status emoji.
  • The main panel is white (or #1a1d21 in dark mode) with rounded corners. Its header has the star, channel name, topic, member facepile with count, a Huddle split button, notifications, search and a kebab menu. Under it are the channel's tabs (Messages plus canvases, lists and bookmarks), the message list (grouped rows, reactions, threads, unfurls, files and images, day dividers, hover action bar) and the rich composer (formatting toolbar, @ # : / autocomplete, attachments, "X is typing…").
  • Threads and channel details open in a pane on the right. Ctrl+K, search, the emoji picker, profile cards, menus, the lightbox and Preferences open as popups over the window.
  • Dark mode follows Slack's dark theme, including the darker aubergine chrome and the 1 px outline around the workspace.

Try the demo

No Slack account needed:

clack demo              # open Clack on a built-in fake workspace
clack demo --speed 3    # the bots talk three times as often (0.5 is half)
clack demo --dark       # start in dark mode
clack demo --quiet      # no ambient chatter: people only answer you
clack demo --reset      # forget the demo's saved settings and start fresh
clack demo --help

clack --demo works too. The demo opens the normal Clack window signed in to Quillfeather Paper Co., the Wexley Falls branch of a small paper distributor. You're Jordan, the new hire in week 2. Everyone and everything in it is made up:

  • A dozen coworkers with drawn avatars, titles, pronouns and statuses, among them a branch manager who invents awards, a top seller and her honey-selling rival, a weary one-person IT department with a moody printer, and an intern with a new startup idea every day.
  • Channels #general, #random, #sales-leaderboard, #party-planning-crew, #it-help, #warehouse, #lunch-orders, #kudos, a private #secret-santa-2026, a code channel and #papertrail-freight, a Slack Connect channel shared with two people from Papertrail Freight, the branch's carrier. There are also DMs, a group DM, custom sidebar sections and user groups (@sales, @party-committee, @warehouse-crew…).
  • A few days of backstory with threads, reactions, custom emoji, drawn pictures and PDFs, link previews, canvases and a list, pinned messages, a scheduled message, saved messages and to-dos (one overdue), and an @channel or two. Activity has mentions, group mentions, thread replies, reactions, DMs, a list assignment, a reminder and a channel invite; the Files & links tabs, search and the Huddles page's history all have content.
  • Scripted bots, all local with no AI service involved:
    • People post on a timer, with banter that runs across channels. They reply in threads when you post or mention them, react to your messages, show "is typing…" and change their statuses.
    • Inkwell, an AI coding agent app, streams its "Thinking…" plan into #inkwell-order-portal, a code channel with a diff and a pull request view.
    • Pulse posts polls whose buttons work.
    • A huddle is already going in #party-planning-crew when you arrive, and people drop in and out of it. Now and then someone rings you for a huddle. The demo has no audio, so joining doesn't connect.
    • Your Activity feed fills up as it all happens.

The demo is offline and can't reach Slack. It runs its own fake Slack server (internal/fakeslack) inside the process on 127.0.0.1. Before anything else starts, the process makes itself loopback-only: every connection to a host other than localhost is refused and proxies are ignored. It keeps its settings in its own folder (clack-demo next to Clack's config folder, or CLACK_DEMO_HOME), so it never reads or writes your credentials, cache or preferences. A Demo workspace banner stays above the workspace, and the window title says (Demo). The bots' scripts and the workspace live in internal/demo/data.

Sign in

Clack has two ways in. Use the first.

Sign in with a Slack link (Clack's own session)

This is how Slack's desktop app signs in. You sign in in your browser, Slack's page hands "the Slack app" a one-time slack://…/magic-login/… link, and Clack trades that link for a session Slack issues to Clack (auth.loginMagicBulk?ssb=1). Nothing is copied from your browser, so Clack and the browser are two separate sessions, the way the browser and Slack desktop are.

  1. Start Clack and click Open Slack sign-in (or press Enter). Clack opens https://slack.com/ssb/add?s=1&v=4.53.276 in your browser and waits for the link.
  2. Sign in to your workspace in the browser.
  3. When Slack offers to open the Slack app, let the browser open Clack, and Clack signs in by itself. On macOS that works out of the box. On Windows, if Windows asks which app opens the link ("Select an app to open this 'slack' link"), pick Clack, then Just once or Always. On Linux, choose Clack if your browser asks, or run clack --register-url-handler once to make it the default.

Clack also signs in with a link you already have: when its window comes to the front on the sign-in screen, it looks at the clipboard, signs in with a sign-in link it finds there and clears the clipboard, the way Slack desktop does, and the card's field takes a pasted link. Slack's sign-in page doesn't show the link, though, so the hand-off from the browser is the way in. Having trouble? on the card has the tips for your system.

The link works once, for a few minutes. If it has expired, open Slack sign-in again. Treat it like a password until then. If your workspace uses single sign-on, Slack may send you back to the browser to finish. Clack then opens the page Slack names and waits for the next link.

Letting the browser open Clack needs Clack to handle slack:// links. On macOS the app declares the scheme, so it works as soon as Clack is installed; with Slack.app installed too, macOS picks one of the two. On Windows every start registers Clack, so Windows offers it next to the Slack desktop app (see Install → Windows). On Linux the packages list Clack as a handler, and clack --register-url-handler makes it the default (xdg-mime default clack.desktop x-scheme-handler/slack); Clack never takes the default by itself there. The Slack desktop app claims slack:// too and re-claims its default whenever it starts. A link that reaches Clack while it's already signed in does nothing but show a note: any web page can make your browser open a slack:// link, and one for someone else's account must not swap yours. Sign out first.

From a terminal: clack login 'slack://T…/magic-login/…', or clack login and paste the link at the prompt. A running Clack also accepts clack 'slack://T…/magic-login/…'.

After that, Clack sends every cookie Slack set for the session (d, lc, d-s, …), takes in each new value Slack sends back, and saves them to creds.json (soon after d changes, within 30 s for the rest, and at exit). If the link asked for DPoP (dpop=1), Clack keeps a P-256 key for that domain in ~/.config/clack/dpop-keys/ and signs a proof for each API and socket request. If Slack rejects a proof, or the key is gone, Clack stops talking to Slack and asks you to sign in again.

What isn't verified yet: whether this session survives you signing out in the browser (it should, it's a separate session), how Enterprise Grid treats DPoP, and whether Slack's desktop boot page always has the token Clack reads from it. See docs/DESKTOP-SIGNIN.md.

Advanced: paste the d cookie

Note

This way Clack shares your browser's Slack session. It is not a separate sign-in. Earlier versions got sessions signed out everywhere (the browser, the desktop app and Clack) on Hack Club's Enterprise Grid, a few seconds after signing in. The cause was found: Grid reacts to Go's TLS handshake. This release connects to Slack with OpenSSL's handshake instead, which Grid leaves alone (docs/SIGNOUT-AUDIT.md). Slack can still end a shared session for its own reasons, so use an account you can sign back in to.

Click Advanced on the sign-in card (or press Enter at clack login's link prompt). It needs one thing, your browser's d cookie (xoxd-…). d is HttpOnly, so copy it from DevTools: press F12 on a Slack tab, then Application › Cookies › https://app.slack.com › d. Press Ctrl+V (⌘V on a Mac) anywhere on the card, or paste it into the field: Clack signs in right away. d=xoxd-… and a whole Cookie header work too. Don't bother with d-s: Clack never sends it on a pasted session.

With only d, Clack gets the session's tokens the way the desktop sign-in does: it loads Slack's token page (app.slack.com/auth) with that cookie, then checks the workspace token with one auth.test. It never loads /ssb/redirect, never sends the org token to auth.test and never calls a sign-out API (docs/DESKTOP-SIGNIN.md).

Use a token instead (under the field) skips the token page. Run this in the Console of the same tab, then press Ctrl+V on the card:

copy(JSON.stringify({teams: JSON.parse(localStorage.localConfig_v2).teams}))

Clack picks out the workspace token, the org token and the workspace URL from that JSON, wherever you paste it. (JSON from the older snippet, with a "ua" in it, still works; the user agent is ignored.) You still need d.

Either way

Every connection Clack makes to Slack uses the TLS handshake of OpenSSL 3.0.13 (the one Python sends) over HTTP/1.1, not Go's, which Enterprise Grid signed sessions out for. Every request says what it is: User-Agent: Clack/<version> (+https://github.com/some-du6e/clack). It sends no browser or Slack desktop User-Agent, no sec-ch-ua client hints, no Sec-Fetch-* and no Origin or Referer. Clack doesn't ask for your browser's user agent, and an old creds.json that has one is read and the value ignored.

Credentials are saved to ~/.config/clack/creds.json, readable only by you (mode 600 in a 700 directory; an owner-only ACL on Windows). They only ever go to https slack.com hosts. "Sign out on this device" deletes that file and nothing else.

Live updates are on, as in Slack desktop: Clack opens Slack's realtime websocket after it signs in, over the same OpenSSL handshake as every other connection. You can turn them off in Preferences > Clack, and a saved "off" stays off. While they're off, Clack never opens the websocket. It refreshes unread counts and the open conversation and threads over the Web API every 20 seconds instead. You can read and send, but there's no typing indicator, presence, instant delivery, desktop notifications, huddle events or slash-command modals. clack -no-realtime (or CLACK_NO_REALTIME=1) keeps the socket closed whatever the setting says.

Clack never calls Slack's sign-out or token-revoke methods. "Sign out on this device" only deletes creds.json; your Slack session in the browser and other apps is not affected.

Treat creds.json like a password: it is a full session for your account. See docs/SECURITY.md for how Clack protects it, what plugins can see, and how Clack follows the Hack Club scraping policy.

/slackauthticket is the Slack CLI's

/slackauthticket <ticket> doesn't sign Clack in. It's how the Slack CLI signs in. slack login prints the line, and you send it from any conversation's composer, in Clack just as in Slack. Slack opens a modal: click Confirm, then type the challenge code it shows into the terminal. Ctrl+K only searches for the line, in Slack too. Treat the ticket like a password until it's used. Clack keeps it out of its logs (docs/SLACKAUTHTICKET.md).

Run

clack            # open the window
clack -dark      # start in dark mode (the saved preference wins)
clack -version   # print the version
clack 'slack://channel?team=T0266FRGM&id=C0266FRGV'   # open a Slack link
flag default
-creds <file> ~/.config/clack/creds.json credentials file
-dark off start in dark mode
-register-url-handler make Clack this user's default slack:// handler and exit (Windows: the legacy Software\Classes\slack key as well as Clack's own, which every start writes; xdg-mime on Linux). An app picked with Always in Windows' box still wins
-unregister-url-handler remove Clack's slack:// registration (Windows) and exit; other apps' keys stay

Only one Clack runs per user. Starting it again, or opening a slack:// link, brings the running window to the front and opens the link there (slack://channel?id=C…[&thread_ts=…], slack://user?id=U…, slack://open). A slack://…/magic-login/… or slack://login-v2/… link signs in instead, from the sign-in screen only. Instances with different CLACK_HOMEs are separate. On Windows, Clack also puts an icon in the notification area: click it to bring the window back, or right-click it to quit.

Release builds check GitHub Releases for a newer version 3 s after start and then hourly by the wall clock, sleep included (pre-release builds follow pre-releases). A relaunch checks again right away when the last check found a version you haven't restarted into. Preferences → Clack → Check for Updates checks right away and shows the answer in place, along with the download's progress; on macOS it is also Clack → Check for Updates…, and on Linux and Windows Check for Updates… in the workspace menu. If one is out, Clack downloads the package that matches your install in the background and checks it against the release's SHA256SUMS, the way Slack desktop does: the menu item reads Downloading Update, then Restart to Apply Update, and the Help button in the top bar gets a red dot. Help opens a Take action card that asks "Restart and update Clack?" with Not Now and Restart Clack. Nothing installs until you choose to restart. Untick Preferences → Clack → Download updates automatically to stop both the hourly check and the download; the row's Check for Updates still checks when you ask. Releases aren't code-signed yet, so the checksum catches a broken download but not a compromised release (see docs/SECURITY.md D-3).

Config lives in ~/.config/clack (%AppData%\clack on Windows, ~/Library/Application Support/clack on macOS). Set CLACK_HOME to keep it elsewhere. Config from the old name (yoloslack) is copied over on first start. Set CLACK_TIMING=1 to log startup timings, CLACK_FRAMELOG=1 to log every frame, CLACK_NOEMBOLDEN=1 to skip the text-weight correction (faster on machines without a GPU), and CLACK_FULL_FRAMES=1 to draw every frame whole (Clack normally redraws only what changed since the last frame, such as the caret's blink; try this if the window ever shows stale or torn pixels).

If Clack freezes

If the window stops responding for more than 2 seconds (a beachball on macOS), Clack writes a freeze report and keeps running. Reports go to freeze-reports/ in the config directory:

  • macOS: ~/Library/Application Support/clack/freeze-reports/
  • Linux: ~/.config/clack/freeze-reports/
  • Windows: %AppData%\clack\freeze-reports\

Each freeze-<date>-<time>.txt holds the Clack version, what the window was doing (layout, posted work or the GPU submit), your ui.json settings, the Go runtime's heap and stop-the-world figures, what each plugin JS runtime was doing (a running task, its garbage collector, its heap size), and the stack of every goroutine with the times they were asked for and got. A freeze still going at 5 seconds gets a second snapshot, and the report ends with how long the freeze lasted. Time the computer spends asleep or hibernating doesn't count, on macOS, Windows and Linux. It has no message text, and tokens and cookies are redacted. Help → Troubleshooting → Show Freeze Reports opens the folder (Copy Diagnostics names it and the newest report). To report a freeze, attach the newest file to a GitHub issue. The log also prints the report's path. Clack keeps a week of reports, up to 20 MB (the one just written always stays).

With the flight recorder on, the same folder gets execution traces: Clack keeps the last 5 seconds of the Go runtime's execution trace in memory and writes them out when a frame or other work on the window's goroutine takes 100 ms or more (slow-<date>-<time>.trace: at most one a minute, then further apart while frames stay slow, up to one an hour), and with each freeze report (freeze-<date>-<time>.trace, named in the report's last lines). A trace holds function names, file lines and the runtime's own events (no message text), usually under a megabyte. Clack keeps a week of them: up to 40 MB of freeze-report traces (one goes with its report, or to make room for newer ones) and up to 24 MB of slow-frame ones, which never push out a freeze's. The recorder is off unless you turn it on, because tracing slows every frame: it records each of the ~5,000 Metal calls a frame makes on a Mac, which added about 17 ms a frame in alpha.98. CLACK_FLIGHT_RECORDER=1, or "flight_recorder": true in ui.json with Clack quit, turns it on. Attach the trace with the report. To read one yourself, with the Go version Clack was built with (1.24 for releases; Go 1.27's go tool trace refuses this format), run go tool trace slow-20261116-150405.000.trace; it opens in the browser:

  • View trace by proc shows each processor's goroutines across the 5 seconds, with the heap and the goroutine count on top and every GC cycle and stop-the-world marked. The window's goroutine is the one in ui.(*App).Run, a plugin JS thread the one in jsrt.(*Runtime).loop; click a slice for its goroutine and stack. The slow frame ends at the trace's end (for a freeze trace, the freeze started 2 s before it).
  • A slow frame is most often a stop-the-world covering it (its first part, waiting for every goroutine to stop, is long when one wouldn't: a JS thread in a long native loop), the window's goroutine runnable but not running (no thread free for it, as when a GC takes the CPU), or that goroutine in a GC mark assist, paying for its own allocations. Blocking on a lock or a channel shows as the goroutine blocked, and in Synchronization blocking profile.
  • Goroutine analysis splits each goroutine's time into running, waiting to run (scheduler wait), blocked, syscalls and GC assists; Scheduler latency profile shows where goroutines waited to run.

Logs

Clack writes its log to stderr and to a file, even when you start it from the Dock or the Start menu:

  • macOS: ~/Library/Logs/Clack/clack.log
  • Linux: $XDG_STATE_HOME/clack/clack.log (~/.local/state/clack/clack.log)
  • Windows: %LOCALAPPDATA%\Clack\logs\clack.log

At 5 MB the file becomes clack.log.1, and the one before that becomes clack.log.2. Older files are deleted. Set CLACK_LOG_DIR to keep the logs somewhere else. The file has no message text or search queries. Tokens, cookies and token-carrying URL parameters are redacted, and so is everything after ? in a slack:// link. If the folder can't be written, Clack prints one warning and logs to stderr only.

Help → Troubleshooting has Show Logs in File Manager, Show Freeze Reports and Copy Diagnostics: in the menu bar on macOS, and on Linux and Windows in the app menu (the ☰ button at the top left of the window). Copy diagnostics puts a short summary on the clipboard for a bug report: version, OS, plugin ids, which components plugins patch, and the last 200 log lines.

If Clack won't open

A Clack that freezes or crashes at launch can still update itself from a terminal:

clack --update            # find the newest release, ask, download, verify, install
clack --update --check    # only say whether there is a newer one
clack --update --yes      # don't ask

The binary to run depends on how you installed Clack:

install command
macOS /Applications/Clack.app/Contents/MacOS/clack --update
Windows installer Start-Process -Wait -NoNewWindow "$env:LOCALAPPDATA\Programs\Clack\Clack.exe" -ArgumentList '--update' (PowerShell)
Windows portable the same, with the path of your Clack.exe
AppImage ./Clack-<ver>-x86_64.AppImage --update
.deb / .rpm clack --update

It opens no window and doesn't read your settings (ui.json), your sign-in or your workspace theme, so whatever is freezing the app stays out of it, and it sends nothing to Slack. It picks the release the same way the in-app check does. It downloads the package for your install from GitHub only, checks it against the release's SHA256SUMS and prints each step. Then it installs the package the same way Install and restart does: it replaces Clack.app or the AppImage in place, runs the Windows installer silently, swaps the portable Clack.exe, or runs apt/dnf behind a password prompt. A Windows install finishes a moment after the command exits, because Windows can't replace a running Clack.exe. Start Clack yourself afterwards. The exit code is 0 when Clack was updated or was already up to date, and 1 with an update failed: message otherwise (for example a checksum mismatch, no network, or an install type it can't update).

Build

Every push runs gofmt, vet and the tests in GitHub Actions, then builds Linux (cgo; Gio needs Wayland/X11/GL headers), Windows (cross-compiled, no cgo) and macOS binaries. A v* tag runs .github/workflows/release.yml, which builds the packages listed under Install (the macOS app as a universal arm64 + x86-64 binary, the Windows installer with Inno Setup, the .deb/.rpm with nfpm, the AppImage with appimagetool), installs and checks them on the CI runners, and publishes them with SHA256SUMS as a GitHub Release. Tags with a - (v0.4.0-rc.1) become pre-releases. The packaging files are in packaging/.

To build yourself you need Go ≥ 1.24. On Linux also install libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev, then:

go build -o clack ./cmd/clack

How it is put together

  • internal/slack: Slack's web-client API (team and enterprise hosts, edge API) and the realtime gateway.
  • internal/store: in-memory state plus the metadata disk cache.
  • internal/core: the in-process service the UI calls. It handles boot, history, search, sending with optimistic rows, uploads, drafts and scheduling, activity, saved items, and typed realtime events.
  • internal/richtext: turns Slack messages into documents for native layout.
  • internal/ui/... and internal/imgcache: the Gio app.

See docs/NATIVE.md for the contracts between these packages.

Speed

Measured on the Hack Club Slack:

  • The window paints the sidebar from a small metadata cache in about 0.4–0.5 s, and core is ready (conversations, counts, sections) about 0.6 s after start. Conversations, counts, sections and team info load in parallel. The realtime socket connects about 1 s after start.
  • Switching to a cached channel takes 1–3 ms of layout. An uncached channel costs one conversations.history call, about 0.15–0.3 s. Unread channels are prefetched in the background.
  • When idle, the window draws no frames. On a machine without a GPU (software OpenGL), each frame takes a few hundred milliseconds to rasterize; with a GPU it is a few milliseconds.

Data & scraping policy

Clack follows the Hack Club scraping policy:

  • Message contents are never written to disk. Messages, threads, drafts, files and rendered documents live only in memory for the lifetime of the process, as in any Slack client. Logs carry method names, ids, counts and timings only.
  • Only metadata is cached on disk, in one directory per workspace and user under the OS's cache folder (~/Library/Caches/Clack, ~/.cache/clack, %LocalAppData%\Clack; v1/<team>-<user>/): the user directory, the custom emoji map, usergroups and your prefs (meta.json), the sidebar and recently opened channels' tab bars that a start shows before Slack answers (boot_data.json, headers.json; no messages), plus avatar and emoji images (at most 384 MB). Every file is readable by you only (0600). Signing out deletes the directory.
  • Files and thumbnails from files.slack.com are fetched into a memory-only cache and never saved.
  • Clack makes the same kind of requests the official client makes: on demand, rate-limited, no crawling.

License

MIT. See LICENSE. Third-party components and their licenses are listed in THIRD_PARTY_NOTICES.md.

About

No description, website, or topics provided.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages