8000 GitHub - hackclub/archimedes
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hackclub/archimedes

Repository files navigation

Archimedes

A helpful newspaper bot for Hack Club. Archimedes handles story writing, editor approvals (like the #confessions channel), and auto-generation of both Slack messages and emails sent out to folks subscribed.

Here from High Seas? I'd recommend watching the demo video to get a better idea of how Archimedes works!

Features

Rich text editor

Staging/approvals system

Reporters initially write drafts of their stories in Archimedes' app home. When they're ready, they can click a button to stage their story for publication. A message will then be sent in the approvals channel, where editors can approve or reject the story.

image

Auto-generation

Archimedes will automatically generate both a Slack message in the #happenings channel, and an email for each issue. Slack-specific features such as user mentions and emojis will be handled automatically.

image

Development

To install dependencies:

bun install

Now, let's configure our environment variables.

export SLACK_BOT_TOKEN=xoxb-...
export SLACK_SIGNING_SECRET=...
export AIRTABLE_API_KEY=...

We also need to setup the airtable.json file, which contains information about our Airtable base. Let's start by running the schema generator:

AIRTABLE_API_KEY=... AIRTABLE_BASE_ID=... bunx airtable-ts-codegen

You then need to move the mappings parts to the airtable.json file, as well as the baseId and tableIds.

To run:

bun dev

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0