A simple BlueSky profile labeler that can be ran on Cloudflare Workers github.com/SocksTheWolf/SimpleBSkyLabeler
cf bsky profile label bluesky cloudflare workers
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

small cleanup

+3 -3
+2 -2
html/index.html
··· 39 39 <!-- Label Site Specific --> 40 40 <form id="addform" hx-post="/add-account" hx-target="#form-output" hx-target-error="#form-output" hx-swap="innerHTML" hx-indicator="#ind"> 41 41 <label> 42 - BSky Handle: 42 + BSky Handle: 43 43 </label> 44 44 <input type="text" id="username" name="domain" minlength="4" required placeholder="@example.bsky.social" /> 45 - <small>This should be an user profile URL, URL to a post, or a handle in the form of <code>USERNAME.bsky.social</code> or custom domain. Do not put your resolved DID here.</small> 45 + <small>This should be an user profile URL, URL to a post, a handle in the form of <code>USERNAME.bsky.social</code> or custom domain. Do not put your resolved DID here.</small> 46 46 <input type="submit" value="Add" /> 47 47 </form> 48 48 <center class="output">
+1 -1
src/rewriter.ts
··· 54 54 this.replaceObj = findReplaceObj; 55 55 } 56 56 // Helper function 57 - hasKey = (str:string) => { 57 + hasKey = (str:string) => { 58 58 return Object.keys(this.replaceObj).find(v => str.includes(v)) != undefined; 59 59 } 60 60