You are browsing as a guest. Sign up (or log in) to start making projects!

BeepBoop

  • 5 Devlogs
  • 5 Total hours

Stardance utilities in slack! Written in Golang :)

Open comments for this post

1h 4m 35s logged

Feature: /watch-project command

I added a command to watch a project for new devlogs. Its a job that runs every minute (for now), scraping each tracked project for devlogs that haven’t been tracked yet.

btw I hate slack, they don’t support full markdown so formatting can be a bit weird


Commit

Feature: /watch-project command

I added a command to watch a project for new devlogs. Its a job that runs every minute (for now), scraping each tracked project for devlogs that haven’t been tracked yet.

btw I hate slack, they don’t support full markdown so formatting can be a bit weird


Commit

Replying to @uv

0
2
Open comments for this post

29m 24s logged

View project in slack

Before, projects in the /user-project command had a view button that took you to the page in stardance. Now, it sends a message in slack

The most annoying part of this was of course the slack API. I was trying to ack the response with a message, for whatever reason that did not work. Instead i sent a new message.


Commit

View project in slack

Before, projects in the /user-project command had a view button that took you to the page in stardance. Now, it sends a message in slack

The most annoying part of this was of course the slack API. I was trying to ack the response with a message, for whatever reason that did not work. Instead i sent a new message.


Commit

Replying to @uv

0
2
Open comments for this post

2h 7m 20s logged

Feature: View a project

You can now view a project and its devlogs using the /project [id] command.

It shows all the attachment of a devlog, including videos - which kind of work, its just a link to the file.

The most annoying part was again the slack message format, I had to use packages to convert the HTML into markdown, and then convert the the markdown into a slack compatible markdown format. I also had to truncate the devlogs to 199 characters, trying to fix a cryptic error message.

Next I’ll add the ability to view devlogs, images and videos in full from slack, using modals


Commit

Feature: View a project

You can now view a project and its devlogs using the /project [id] command.

It shows all the attachment of a devlog, including videos - which kind of work, its just a link to the file.

The most annoying part was again the slack message format, I had to use packages to convert the HTML into markdown, and then convert the the markdown into a slack compatible markdown format. I also had to truncate the devlogs to 199 characters, trying to fix a cryptic error message.

Next I’ll add the ability to view devlogs, images and videos in full from slack, using modals


Commit

Replying to @uv

0
1
Open comments for this post

1h 19m 30s logged

Feature: List a users projects

I added a command /user-projects [username]!

Most annoying part was figuring out Slacks message format. Scraping was by far the easiest part, thanks to Stardance’s CSS class format.

Started working on a Stardance scraping library in go.


Commit

Feature: List a users projects

I added a command /user-projects [username]!

Most annoying part was figuring out Slacks message format. Scraping was by far the easiest part, thanks to Stardance’s CSS class format.

Started working on a Stardance scraping library in go.


Commit

Replying to @uv

0
3
Open comments for this post

23m 59s logged

Beep?

Boop!


Setup my first slack bot with golang, added a slash command /beep

I will make a /track command to pull from stardance devlogs automatically next

Beep?

Boop!


Setup my first slack bot with golang, added a slash command /beep

I will make a /track command to pull from stardance devlogs automatically next

Replying to @uv

0
6

Followers

Loading…