twitter-dm-drafter is an add-on to twitter. it'll show up right next to the send button in your DMs.
when you click the button, it will give you a draft response based on the conversation.
you can regenerate as many times as you want, i store nothing! all your keys ๐ค
gpt3-twitter-extension.mp4
- clone this repo
- add you openai API key in
background.js
- edit the prompt for personality (optional)
- head to
chrome://extensions
- hit
developer mode
in top right - add the root of this repo in
load unpacked extension
pretty basic build, if you wanna dig around:
background.js
-> calls api
manifest.json
-> chrome extension config
contentScript.js
-> whenever you navigate, place a button. on press, tell background to get response
- If you use this, pls star it! Helps me know if I should build more stuff like this :)
- Code is not perfect! Have a couple things I wanna fix, just some trivial best practices heh