Bluesky app fork with some witchin' additions 馃挮 witchsky.app
bluesky fork client
117
fork

Configure Feed

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

at main 65 lines 1.3 kB view raw
1const path = require('node:path') 2const fs = require('node:fs') 3 4const projectRoot = path.join(__dirname, '..') 5 6// copy embed assets to embedr 7 8const embedAssetSource = path.join(projectRoot, 'bskyembed', 'dist', 'static') 9 10const embedAssetDest = path.join(projectRoot, 'bskyweb', 'embedr-static') 11 12fs.cpSync(embedAssetSource, embedAssetDest, {recursive: true}) 13 14const embedEmbedJSSource = path.join( 15 projectRoot, 16 'bskyembed', 17 'dist', 18 'embed.js', 19) 20 21const embedEmbedJSDest = path.join( 22 projectRoot, 23 'bskyweb', 24 'embedr-static', 25 'embed.js', 26) 27 28fs.cpSync(embedEmbedJSSource, embedEmbedJSDest) 29 30// copy entrypoint(s) to embedr 31 32// additional entrypoints will need more work, but this'll do for now 33const embedHomeHtmlSource = path.join( 34 projectRoot, 35 'bskyembed', 36 'dist', 37 'index.html', 38) 39 40const embedHomeHtmlDest = path.join( 41 projectRoot, 42 'bskyweb', 43 'embedr-templates', 44 'home.html', 45) 46 47fs.copyFileSync(embedHomeHtmlSource, embedHomeHtmlDest) 48 49const embedPostHtmlSource = path.join( 50 projectRoot, 51 'bskyembed', 52 'dist', 53 'post.html', 54) 55 56const embedPostHtmlDest = path.join( 57 projectRoot, 58 'bskyweb', 59 'embedr-templates', 60 'postEmbed.html', 61) 62 63fs.copyFileSync(embedPostHtmlSource, embedPostHtmlDest) 64 65console.log(`Copied embed assets to embedr`)