Skip to content

good-lly/bsky2svg-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦋 bsky2svg-worker

Super simple Cloudflare Worker to generate SVG images from your posts on Bluesky and publish on your Github profile like this:

example image of bsky to svg

How to use the bsky2svg worker

  1. Clone the repository:
git clone <repository-url>
cd bsky2svg-worker
  1. Install the dependencies:
npm install
  1. Replace username in src/index.js with your own username:
const USERNAME = 'your-username'; // change this to your username!
  1. Change the project name in wrangler.toml to your own project name:
name = "bsky2svg-worker" // change this to your project name!
  1. If you are logged in to Cloudflare via wrangler you can deploy the worker with:
npm run deploy

Otherwise, you can log in to Cloudflare with:

npx wrangler login

Then deploy the worker with:

npm run deploy
  1. After deploying, you will get a URL for your worker. You can use this URL to access the worker with url /render.svg. Like this: https://[YOUR_PROJECT_NAME].workers.dev/render.svg

That's it! You can now use the bsky2svg worker to generate SVG images from your posts on Bluesky.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! If you have any suggestions or improvements, please open an issue or a pull request.

💙 Sponsor these shenanigans

Help keep the nonsense rolling by becoming a sponsor otherwise Cloudflare will ruin my bills!

Become a Sponsor

About

🦋 Add Bluesky stream on your Github profile. Simple Cloudflare worker to generate SVG from Bsky.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors