Paste code snippets
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 233
- Forks
- 19
- Avg merge
- 9d 20h
- Merged PRs (30d)
- 3
Description
We should tie this into a FILEHOST compatible feature where you post code to the FILEHOST and share it via a message-tag on the PRIVMSG as an attachment to the original message.
We should implement a vendor capability for whether we are able to deal with that specific tag and use this to gracefully provide a PRIVMSG with the url link as a fallback for incompatible clients.
Allowing this to be separate from the message body in a way that indicates the paste is reviewable code allows us to render whatever we like without worrying about stuffing all the code inside message-tags.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the IRC PRIVMSG and message-tag handling, then identify where vendor capabilities and message rendering are implemented. Define how FILEHOST posting, the reviewable-code tag, capability detection, and the URL fallback should work; done means compatible clients receive the attachment while incompatible clients receive a usable link.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100