Comments (3)
I was able to fix these issues by doing the following:
- Use "host_permissions" to specify host-specific permissions:
"host_permissions": [
"http://localhost:3000/*",
"https://opulent-funicular-94rx4v9w775f96q-3000.app.github.dev/*",
"https://anycontext.dhr.wtf/*"
],
- Simplify
permissions
:
"permissions": [
"activeTab",
"storage"
],
- Build using
bun build
:
mkdir ./build
bun install
bun build ./src/*.tsx --outdir ./build
- Paste the built files into ./src
- Update manifest.json
Replacing all.tsx
files with the newly built.js
files:
{
"manifest_version": 3,
"name": "SuperMemory",
"version": "2.0.0",
"action": {
"default_popup": "index.html"
},
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"content_scripts": [
{
"js": ["src/content.js"],
"matches": [
"http://localhost:3000/*",
"https://opulent-funicular-94rx4v9w775f96q-3000.app.github.dev/*",
"https://anycontext.dhr.wtf/*",
"<all_urls>"
]
}
],
"host_permissions": [
"http://localhost:3000/*",
"https://opulent-funicular-94rx4v9w775f96q-3000.app.github.dev/*",
"https://anycontext.dhr.wtf/*"
],
"permissions": [
"activeTab",
"storage"
],
"background": {
"service_worker": "src/background.js"
}
}
- Update the
index.html
:
Also replacing with the built.js
one:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
- Manually load the Chrome extension
- Turn on Developer Mode
- Click on the Load unpacked
- Select the
apps/extension
folder
After installation, click on the extension icon > Log In.
Still having errors importing Twitter Bookmark though:
Hope it helps.
from supermemory.
import from twitter is still in the works, will be perfected very very soon 🙏
from supermemory.
Hi! The chrome extension is on the webstore now. See instructions on how to use it here - https://github.com/Dhravya/supermemory?tab=readme-ov-file#how-do-i-use-this
from supermemory.
Related Issues (20)
- Tweets Bookmarked not brining thread information unless bookmarking each tweet (?) HOT 2
- Text to speech on answer HOT 1
- wrangler.toml creates issue in pr HOT 1
- [Bug] (?) Unable to use telegram bot, doesn't recognize I've signed in HOT 2
- [Bug] Telegram bot linked, only responds with "Sorry, I am not able to process your request at the moment." HOT 2
- Twitter bookmarks not getting imported HOT 4
- Typo in README.md: "Volia" should be corrected to "Voila" HOT 2
- Correct Typo: "Neccessary" to "Necessary" in Introduction of Self-Hosting Guide HOT 1
- Licensing Issue HOT 1
- Consistency in Capitalization HOT 1
- Grammar and Punctuation Corrections Needed HOT 2
- Add Missing Documentation Links for "Nextjs 14" and "Cloudflare Ratelimiter" in README
- Capitalization Grammar and Punctuation Corrections Needed HOT 1
- Policy review needed HOT 1
- Docker file for development. HOT 1
- Add ability to download Twitter/X likes. HOT 1
- Getting "Error: Failed to collect page data for /api/store/friend" when running a deploy HOT 1
- Change the "Follow us on twitter" to "Follow us on X" HOT 2
- Feature Request: Integration to Readwise Reader
- Remove old message about launch from landing page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supermemory.