Schedule posts to Bluesky with Cloudflare workers. skyscheduler.work
cf tool bsky-tool cloudflare bluesky schedule bsky service social-media cloudflare-workers
at main 37 lines 1.9 kB view raw
1// Various information that is hardcoded here, that can be grabbed from anywhere else. 2// Basically hard coded site info without the need for CF bindings passed around 3// or having to figure out the domain by parsing request urls. 4 5// Name of the application 6export const APP_NAME: string = "SkyScheduler"; 7// Site URL, used in places where we won't have the CF env bindings (most static rendered assets) 8export const SITE_URL: string = "https://skyscheduler.work"; 9// Description of the website, used for meta tags and social cards. 10export const SITE_DESCRIPTION: string = "Schedule and automatically repost on Bluesky! Boost engagement and reach more people no matter what time of day!"; 11// Link to the image to display on the social card. 12export const SOCIAL_CARD_IMAGE: string = `${SITE_URL}/social-card.png`; 13 14// The public repository that this application can be found on 15export const APP_REPO: string = "https://github.com/SocksTheWolf/skyscheduler"; 16 17// Author information, used for JSON-LD and footers 18export const PROJECT_AUTHOR: string = "SocksTheWolf"; 19export const PROJECT_AUTHOR_SITE: string = "https://socksthewolf.com"; 20 21// This line shows up on the dashboard when the user logs in, located under the logo. 22export const DASHBOARD_TAG_LINE: string = "Schedule Bluesky posts effortlessly"; 23 24// The atproto did for the /.well-known/ path. Leave blank for no support. 25export const ATPROTO_DID: string = "did:plc:ecfcvvlqmadysyik3thlbs3c"; 26 27// If the logo image should be rendered on the site. 28export const LOGO_ENABLED: boolean = true; 29 30// if the support bar should be shown or not. Currently is only visible on the dashboard page 31export const SHOW_SUPPORT_PROGRESS_BAR: boolean = false; 32 33// for the progress bar, this is an easily editable file for updating the bar 34// maybe we'll support webhooks in the future, but w/e 35 36export const PROGRESS_TOTAL: number = 10; 37export const PROGRESS_MADE: number = 0;