Add embed code and instructions

This commit is contained in:
Idrees Hassan committed 2025-11-16 13:10:57 -05:00
1 parent 8b8aa50cae
commit c3ff3b39dc
4 files changed
+2636

No files matched your search

+8
View File
@@ -56,6 +56,14 @@ It's a pet bird that hops around your computer, what more could you want?
3. Install my Pocket Bird script by going to this link and clicking install: [https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js](https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js)
4. Now any websites you visit will have a little bird hopping around!
### Your Own Website
Pocket Bird can also be embedded directly into your own website! Just include the following code snippet anywhere in your HTML:
```html
<script src="https://cdn.jsdelivr.net/gh/IdreesInc/Pocket-Bird@main/dist/web/birb.embed.js"></script>
```
## FAQ
### How do I pet the bird?
+1
View File
@@ -130,6 +130,7 @@ async function buildWeb() {
const birbJs = await generateCode(WEB_ENTRY);
mkdirSync(WEB_DIR, { recursive: true });
writeFileSync(WEB_DIR + '/birb.js', birbJs);
writeFileSync(WEB_DIR + '/birb.embed.js', birbJs);
}
async function buildUserscript() {
BIN
View File
Binary file not shown.
+2627
View File
File diff suppressed because it is too large. Load diff