Coder Social home page Coder Social logo

Comments (19)

elblogbruno avatar elblogbruno commented on June 28, 2024 1

Glad you got it working and thanks for sharing the steps, I will leave the issue open, so people can check into it.
I have updated to the 2.0.1 version, and my next work will be on adding the whole idea that we worked on in #8.

Thanks
Cordially,

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024 1

Well, I believe it would be easier and faster if I take the time to implement the original idea as I believe can't take long time.
image
Sneak peak 😮

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024 1

I have successfully created the functions needed on the server. I need to program the extension so it calls the API and gets the available collections and display them as HTML.

I will add them as buttons, so you will need to click twice, once for adding and second for choosing where to save. Maybe I could program if I don't click any to automatically add to a predetermined one.

Oh more ideas are coming here to my mind as I write this 😯 😂

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024 1

image
Sneak peek

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

Nice investigation!
To answer your question it saves the credentials on the same folder where server.exe is located. Port.json tells the port to run the server on, data.json is where credentials are stored, and options.json is where the AI tagging options are saved.

from notionai-mymind.

profucius avatar profucius commented on June 28, 2024

Update: For anyone finding this message in the future, this process is depreciated, as of 2.0.2 the server inherently handles multiple tables. Do not follow the below advice. Keeping it here for historical archives.


It was fairly easy to do, here are the steps I took:

  1. I have a folder called D:\Portables which I store all portable software. (this can be anywhere, although I don't prefer Program Files because of it requiring admin on the station)
  2. Inside this folder, I made a root folder called "Notion MyMind" (although it can be named anything)
  3. Inside this folder, I made a folder and named it the topic that I am researching. (e.g. Investments)
  4. Inside this folder, I copied C:\Program Files (x86)\Notion AI My Mind\ directly over.
  5. So far, I have this folder: D:\Portables\Notion MyMind\Investments\Notion AI My Mind.
  6. Note: I found that the final folder must be named exactly "Notion AI My Mind" because your .py script fails if it is not. However, any folder above this can be named anything the user desires.
  7. Ran the server.exe.
  8. Loaded the Firefox profile for my Investments research. Installed the Notion AI MyMind extension.
  9. Configured the extension with a different port, and a different notion table. Same login credentials.
  10. Saved text from a page, and it went straight into the Investments table within Notion!
  11. Verified that this can be ran in parallel with other servers, by reproducing steps 3-9 above.
  12. The second server successfully captures text into the different table.

Update: If the software is updated with a new installer exe package, you'll need to reproduce the above steps for each folder you've created. Or, if you understand how symbolic links work, you can simply install to the default folder, and then symbolic link all of the files one time to each separate folder. If those files are updated in the default location, they are directly reflected into the symbolic links.

I'm happy that this actually works. I have about 3 or 4 configs that I am going to setup like above. Of course, this is all in the meantime of one day being able to select tables on-the-fly within the extension. 😃

from notionai-mymind.

profucius avatar profucius commented on June 28, 2024

Would it be possible to change the windows installer to ask for installation destination folder? This way, if a user is running multiple instances, they can update all of them by re-running the installer per folder.

from notionai-mymind.

profucius avatar profucius commented on June 28, 2024

Oh interesting, I'm excited! Okay, I will just sit tight on my idea then 😄

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

In case you want more context on the photo,
image
I am translating an structure like this to Json, that can be read from the extension and phone app.

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

So you can add whatever collection of eleements and it will be translated in realtime 🤗 !

from notionai-mymind.

profucius avatar profucius commented on June 28, 2024

This looks really great!! I can't wait to see how it turns out 😄

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

Me too 😄

from notionai-mymind.

profucius avatar profucius commented on June 28, 2024

Great ideas! This is sounding awesome already. Is that "click twice" on the context menu? Or is that like a popup type box?

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

Great ideas! This is sounding awesome already. Is that "click twice" on the context menu? Or is that like a popup type box?

Hi @profucius
I am dealing with the chrome extension now. The idea is when page loads it makes a request and gets the available collections, so when you add that website, everything has been loaded.

So the idea is you click the button and the menu with buttons appears. Choose one and it will be added to that collection.

from notionai-mymind.

profucius avatar profucius commented on June 28, 2024

Sounds like the way I was thinking it could work. Is it going well? The reason I ask is because there may be an alternative method you can consider. I've seen some other browser add-ons do this, and it may make it easier to update between Chrome and Firefox.

When the user clicks the Notion MyMind entry in the context menu, or on the browser bar, (instead of a popup) the extension opens a new tab (temporarily) to gather any other information (e.g. title, which table to capture to, etc) and when the user clicks a Save button on that page, the tab closes itself and the server program continues processing.

The perk of doing it this way is it might be easier than programming a popup, and may be easier to add more manual input / options to in the future?

If you've already figured out how to do the popup for Chrome and Firefox though, nevermind 😆

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

I see the idea!
Currently extension is develop in some way the notification message pops up from all the context, when you add text / image or a website.

Before , the popup only showed when adding a website as it was the official extension API, but I was not able to open this popup programatically speaking due to security reasons browser companies has established. (if you can open programatically a popup it means a bot or virus could open an extension without you touching it)

How it works now it injects html code on the website and this html can render the content. Sorry for all the technical 😂 this resumes in the idea I can show whatever content I add in html as a popup.

Eventough I love your idea, one of the things I want to always have on mind with this project is to be reliable and not very time consuming UI. That is why now you simply click to add instead of having to think more about what you are doing.

I am very glad for all the feedback, I definitely have it in my radar as how to make the UI and characteristics get to next level.

Speaking about if it is going well, I expect to have it this Monday or Tuesday, or this week we can say.

from notionai-mymind.

profucius avatar profucius commented on June 28, 2024

That makes sense! I follow what you're saying. I like that a lot, keeping "how" you use it simple, while still being able to add features. That is good software development protocol.

I can't wait to check it out whenever it is ready. I'll be downloading it that day 😁

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

I am updating the android app, expect a release today! 😁

from notionai-mymind.

elblogbruno avatar elblogbruno commented on June 28, 2024

Just release the android and extensions! If you feel like you like it, please close this issue!
As always. it will take some time for google to publish the updates on the chrome web store and play store.

from notionai-mymind.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.