Skip to main content

TimesForge

日本語

TimesForge lets each member of a Slack workspace create their own public channel, #times_<first name>, called a times channel, where they post whatever they like. Members create it themselves from the App Home of TimesForge, and TimesForge invites the other members of the workspace to it. It works on the Free plan of Slack.

TimesForge runs on your own computer as an internal Slack app. It connects to Slack with Socket Mode, so it needs no public address, and it talks only to Slack.

What it does

  • Times channels from App Home. A member opens TimesForge in Slack, enters their first name, and TimesForge creates the channel in the background and invites the members of the workspace. The request is approved without anyone's help unless the name is taken.
  • Welcome messages. When a member who has no times channel yet joins the welcome channel, such as #welcome, the bot sends them one direct message that links to App Home. Once their times channel is ready, the message is edited to link to it.
  • One each. Each member can create one times channel. Deleting it does not give the right back, but the owner can let a member create one more.
  • One owner. The owner chooses another name when one is taken, excludes members from creating times channels, gives recreation grants, corrects the holders of imported channels and reads the history, all in App Home.
  • Following Slack. Archiving, restoring, renaming and deleting a times channel in Slack show in App Home. Times channels that members created by hand before TimesForge can be imported.

Requirements

  • macOS or Windows. TimesForge also runs on Linux, but setup does not register it to start at login there.
  • uv, which installs TimesForge and the Python that it needs.
  • A Slack workspace where you can create and install an app. Where only admins may create public channels, an admin installs it.

Install

uv tool install timesforge

Set up

timesforge setup

Setup walks you through four steps and writes your answers to the settings file:

  1. Slack app. Open the link that setup shows to create the Slack app, whose settings are filled in from the manifest. Follow the numbered steps, then paste the Bot User OAuth Token and the App-Level Token. Where only admins may create public channels, an admin installs the app and you also paste the User OAuth Token; otherwise leave it empty.
  2. Owner. Paste the member ID of the person who owns TimesForge. To copy it, open their profile in Slack and select ⋮ (More), then Copy member ID.
  3. Welcome channel. Paste the channel ID of the channel that new members join, such as #welcome, and add the bot to it by sending /invite @TimesForge there. Setup waits until the bot is in the channel; press Enter to check again.
  4. Check and autostart. Setup checks the settings, the tokens, the database, the owner and the welcome channel, and lists the times channels in Slack that TimesForge does not know yet. Then it offers to start the Slack app automatically when you log in. If you decline, it stops an earlier registration, as timesforge stop does.

To change an answer, run setup again. Where a question shows the current value in brackets (keep current for tokens), press Enter to keep it. Creating the Slack app explains how to do the first three steps by hand.

Import existing times channels

If members created times channels by hand before TimesForge, import them, so that TimesForge knows who holds them. Write a JSON file that maps the ID of each channel to the member ID of its holder:

{"C0123ABCDEF": "U0123ABCDE", "C0456GHIJKL": "U0456FGHIJ"}

Then check the file, and import the channels:

timesforge import --mapping channels.json --dry-run
timesforge import --mapping channels.json --apply

--dry-run shows for each channel whether it can be imported, and changes nothing. --apply imports the channels only if every one of them can be. Running TimesForge in a workspace explains each line that it prints.

App Home

A member creates their times channel like this:

  1. Open TimesForge in Slack and go to its Home tab, or select Create your times in the welcome message.
  2. Select Create times channel, enter your first name in letters A to Z and select Create.
  3. App Home shows the channel once it is created. If the name is taken, the owner chooses another name.

The owner also sees Owner actions:

  • Name conflicts. Choose name creates the channel of a member whose name was taken, under another name.
  • Excluded members. Change exclusions excludes a member from creating times channels, with a reason, or lets them create one again.
  • Recreation grants. Change grants lets a member whose times channel was deleted create one more, once.
  • Imported channels. Review changes the holder of an imported channel.
  • History. Show history lists the latest changes to the times channels and to who may create them.

Times channels and who may create them explains who may create a times channel, who is invited to it, and what the owner and exclusions do. Deleted times channels and recreation explains what happens when a times channel is archived or deleted, and how recreation grants work.

Settings

TimesForge reads timesforge.env in your configuration folder. Environment variables take precedence over the file.

System Settings file Data folder
macOS ~/Library/Application Support/timesforge/timesforge.env ~/Library/Application Support/timesforge
Windows %LOCALAPPDATA%\timesforge\timesforge.env %LOCALAPPDATA%\timesforge
Linux ~/.config/timesforge/timesforge.env ~/.local/share/timesforge
Variable Meaning
SLACK_BOT_TOKEN Bot User OAuth Token of the Slack app (xoxb-…)
SLACK_APP_TOKEN App-Level Token of the Slack app (xapp-…)
SLACK_USER_TOKEN User OAuth Token of an admin (xoxp-…), only where only admins may create public channels. The times channels are then created with it.
TIMESFORGE_OWNER_ID Member ID of the owner
TIMESFORGE_CHANNEL_ID_WELCOME Channel ID of the channel that new members join, such as #welcome
TIMESFORGE_DATA_DIRECTORY Folder for the database. Keep it on a local disk.
TIMESFORGE_LANGUAGE_DISPLAY Language of App Home and the welcome messages, en or ja, for people whose Slack language is neither English nor Japanese

Restart the Slack app after you change the settings file.

Commands

Command What it does
timesforge setup Creates the Slack app, chooses the owner and the welcome channel and starts the Slack app at login, writing the settings file
timesforge start Runs the Slack app until it is stopped. --log FILE appends the output to a file.
timesforge stop Stops the Slack app and stops it from starting at login
timesforge doctor Checks the settings, the Slack tokens, the database, the owner and the welcome channel
timesforge import --mapping FILE --dry-run Shows whether the times channels in a mapping file can be imported
timesforge import --mapping FILE --apply Imports the times channels in a mapping file, when every one of them can be
timesforge manifest Prints the manifest for creating the Slack app

Running TimesForge

App Home, the welcome messages and the creation of times channels work only while the Slack app runs. If setup registered it to start at login, it is already running, and it starts again whenever it stops with an error; its output goes to start.log in the data folder. Otherwise, run timesforge start and keep it running.

When the Slack app starts, it catches up with what changed in Slack while it was stopped, and it finishes the times channels that it was creating.

Run only one Slack app for a workspace. TimesForge refuses to start twice with the same data folder, but if it ran on two computers, Slack would split the events and the button presses between them.

To restart the Slack app, for example after changing the settings file:

  • macOS: launchctl kickstart -k gui/$(id -u)/timesforge
  • Windows: schtasks /End /TN timesforge, then schtasks /Run /TN timesforge
  • Without autostart: stop timesforge start with Ctrl+C and run it again.

To stop the Slack app and stop it from starting at login, run timesforge stop.

Update and uninstall

To update TimesForge, run uv tool upgrade timesforge, then restart the Slack app. When a new version changes the manifest, also update the Slack app as Update the app describes.

To uninstall TimesForge, stop the Slack app and its start at login with timesforge stop, or stop timesforge start with Ctrl+C, then run uv tool uninstall timesforge. The settings file and the data folder stay, so delete them if you no longer need them; the database in the data folder is the only record of who holds which times channel. The Slack app and the times channels stay too, until you delete them in Slack.

Notes

  • Slack shows the bot, or the admin whose user token created the channel, as the creator of each times channel. TimesForge keeps the holder itself, so this does not matter. Such an admin is also a member of every times channel, and may leave them.
  • Members who join the workspace later are not invited to the existing times channels. To have them join, add the times channels to the default channels of the workspace, or ask them to join.
  • On the Free plan, Slack shows only the last 90 days of messages, so an old welcome message may no longer show. App Home always shows whether a member can create a times channel.
  • The settings file holds the Slack tokens, and on macOS and Linux only you can read it.
  • The database in the data folder is the only record of who holds which times channel and who may create one. Back it up, as Running TimesForge in a workspace explains, which also covers welcome messages and recovering from failures.

Licence

TimesForge is released under the MIT License. See LICENSE.

Metadata

Release files for timesforge 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timesforge 0.1.0
File Size Uploaded Provenance Actions
timesforge-0.1.0.tar.gz 53.5 kB With provenance Details for timesforge-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timesforge 0.1.0
File Interpreter ABI Platform Actions
timesforge-0.1.0-py3-none-any.whl Python 3 none any Details for timesforge-0.1.0-py3-none-any.whl

Total release size: 123.4 kB

Release files / timesforge-0.1.0.tar.gz

Download URL timesforge-0.1.0.tar.gz
Size 53.5 kB
Tags Source
SHA-256 checksum
How to use checksums
808dd2dd06a3c01cfe42a0c9514979b0e3af505500632c99ac73fca6096f0bb5
BLAKE2b-256 checksum
How to use checksums
aba2eee8286b4cd2de3e8bc1f6e07951b1f16007b49ccd0f1f3664f33d9c85c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / timesforge-0.1.0-py3-none-any.whl

Download URL timesforge-0.1.0-py3-none-any.whl
Size 69.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0dce9160fbc9a0e8304a49f6bc07ed826a259d797f117462d127fe2747b6e3a3
BLAKE2b-256 checksum
How to use checksums
24a5337baad57a004351356f3cf61938b979fde4a63b13ecc3dff56872246621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Security for timesforge 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for timesforge-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page