Coder Social home page Coder Social logo

elblogbruno / notionai-mymind Goto Github PK

View Code? Open in Web Editor NEW
251.0 8.0 25.0 185.62 MB

This repo uses AI and the wonderful Notion to enable you to add anything on the web to your "Mind" and forget about everything else.

Home Page: https://elblogbruno.github.io/NotionAI-MyMind/

License: MIT License

HTML 6.56% Python 91.70% Dart 0.46% Kotlin 0.06% Swift 0.18% Objective-C 0.02% Shell 0.82% Dockerfile 0.20%
notion notion-database notion-ai notion-mymind mymind ai tag tagging collections mind

notionai-mymind's Introduction


Logo

NotionAI MyMind

This repo uses AI and the wonderful Notion to enable you to add anything on the web to your "Mind" and forget about everything else.
Explore the docs »

View Demo · Report Bug · Request Feature

Get it on Google Play

Logo

Add content

This is collections example, where you can have different collections or databases of contents, fully customizable on notion. »

collections collections

Search

This is a fully customizable and searchable database in Notion. »

collections

Free your mind!

Table of Contents
  1. Project Philosophy
  2. Installing
  3. Common Issues
  4. Roadmap

Project Philosophy.

The idea is to have extensions for your mind on the browser, and app on android and Ios, allowing you to add whatever you find on the web in your "Mind". Also, adding image and article tagging capabilities thanks to AI, so you can simply search on your "Mind" for what you remember.

Right now, there's a working Python Local Server, that receives all the data from the extension and the app, and publishes it to your fully customizable and searchable database in Notion. So it is 100% open source and fully private!

Maybe we can say it is an Open Source Alternative to Raindrop and Microsoft Edge Collections, but much cooler with Community driven opinion and AI Capabilities, and a repo maintainer with lot of imagination (yes my brain goes at 150% speed)!

Examples of what you can do.

Add text to your mind Add images to your mind
Add websites to your mind Search on your mind

Extensions

mymind company, friendly asked me to remove the browser extension as it infringes its copyright. Until further re-design of the browser extension, extension will not be available for download on the Chrome Web Store and Firefox Addon Store.

Android and Ios users

Users can install the android app from android store. On Ios you can clone the flutter project and build the app.

Get it on Google Play

I won't be releasing the app on the Apple App Store, as I don't have an Apple Developer Account either Mac OS based computer. Meanwhile, you can clone the flutter project and build the app yourself.

Multilanguage Support and Translation Collaboration

Since version 2.0.4 NotionAI-MyMind has multilanguage support! Now server, phone app and extension is translated to English and Spanish! Would you like to have it translated into your own language?

You can have more info on how to collaborate it helps out people from all comunities and languages access this amazing tool! More info here:

https://github.com/elblogbruno/NotionAI-MyMind-Translations

Installation Tutorial

Installation Tutorial

Installing

  • It is very easy, and there are different ways from click to install one's to more advanced ones, in case you want to install it from source.

  • You can check it out on the wiki: Installing the Notion AI My Mind Server

  • This covers:

    • Notion AI My Mind Server installation.

I have installed the server, what to do next?

  • If you don't enter the Notion credentials either create the notion page, you would be not having fun with it!

  • You can check it out on the wiki: I have installed the server, what to do next?

  • This covers:

    • Notion database creation
    • Browser or app walktrough with explanations.
  • You can watch the video also on how to create the structure!

Installation Tutorial

Docker-Compose

Common Issues

Roadmap

notionai-mymind's People

Contributors

elblogbruno avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notionai-mymind's Issues

Multiple server installations

I thought it would be best to split this question into a separate ticket.

So you are saying that I cannot install Notion AI server on the same computer multiple times with different ports? Does the server program itself conflict with other instances, even if the port is different?

Sorry if I was misunderstood, yes you can run multiple servers with different ports, I believe, I haven't tried it, but in theory, it should work.

I am going to try this out, I am curious if it's possible for my own purposes. Currently I am trying to pinpoint where the server stores its configuration, so that I can try possibly containerizing it. I see that the server is default installed to C:\Program Files (x86)\Notion AI My Mind\ however where does the server.exe store its configuration, such as the port, credentials, etc?

& symbol breaks text capture

Found my first bug ;)

I tried capturing text from a page by selecting the text, open context menu, select "Add to my mind". However, the text stopped abruptly at the first & symbol and did not continue. Example below:

Original text:
"Comments Scientific Frontline said on February 26, 2021 at 8:22 pm Reply Well indeed an interesting open-source program. I personally use several depending on my need. O&O Diskimage for weekly (or major changes) of all my rigs. (to external HD)"

The resulted page in my mind table:
"Comments Scientific Frontline said on February 26, 2021 at 8:22 pm Reply Well indeed an interesting open-source program. I personally use several depending on my need. O"

URL of the original text if you want it, scroll down to the Comments section, first comment: https://www.ghacks.net/2021/02/26/blobbackup-is-an-open-source-cross-platform-and-easy-to-use-backup-program-that-optionally-supports-cloud-services/

server.exe crashes on fresh install of 2.0.2

Hey man, got a new odd one for you. I downloaded your newest 2.0.2 today. To be safe, I totally uninstalled the previous version, and deleted any temp folders (.keras and .notion-py) to clean the slate. I installed 2.0.2 and launched server.exe. It asks me for the port, and then immediately crashes. I've uninstalled and reinstalled multiple times but receiving the same issue.

Here is the bit in the console right before it crashes:


Traceback (most recent call last):
File "server.py", line 181, in
File "NotionAI\NotionAI.py", line 24, in init
open_browser_at_start(port)
TypeError: open_browser_at_start() missing 1 required positional argument: 'port'
[32324] Failed to execute script server

Ideas for the app

First of all, amazing app! I really appreciate you creating the Windows installer, that helped a lot.

Here are some ideas I have for your app, please let me know if you want me to split these apart into separate tickets.

  1. Ability to change the auto-generated title, or, type in your own title at the time of capture. (The official Notion extension does this)
  2. Ability to capture to a table of choice from a list of table URLs added (currently only allows a single table). I have different "web import" tables for different topics, and would love to be able to select one at the time of capture!
  3. Better URL capturing from the Android app. And/Or, allow for writing/pasting your own URL at time of capture. Currently, it does capture the shared text, but the URL as "unknown url added to your mind from Phone"

The recurring theme among my ideas is a feature for a popup box when capturing in a desktop browser (and ideally the phone too) to modify certain text, fields, or destination choice, before they are submitted automatically.

Firefox addon

Hi there, very interested in trying your project. However, it appears you only have an extension for Chrome and not an addon for Firefox? I cannot use Chrome; can only use Firefox. I request that you please release one! Thank you.

Atribute errors handling when accessing a block atrribute

Traceback (most recent call last):
File "server.py", line 108, in get_mind_structure
File "NotionAI\mind_structure.py", line 60, in get_mind_structure
AttributeError: 'Block' object has no attribute 'title'

During handling of the above exception, another exception occurred:

Error in v2.0.1

Nevermind! I fixed this by uninstalling, deleting any related folders, and reinstalling.

Error! Notion Credentials are incorrect. Please check you have enter the correct tokenV2 or email and password.

I get the following error.

[2021-05-21 11:06:19,603] ERROR in app: Exception on request POST /handle_data
Traceback (most recent call last):
File "quart\app.py", line 1862, in handle_request
File "quart\app.py", line 1887, in full_dispatch_request
File "quart\app.py", line 1104, in handle_user_exception
File "quart\app.py", line 1885, in full_dispatch_request
File "quart\app.py", line 1933, in dispatch_request
File "server.py", line 290, in handle_data
File "NotionAI\NotionAI.py", line 60, in run
File "image_tagging\image_tagging.py", line 21, in init
ValueError: could not convert string to float: ''
Exception on request POST /handle_data
Traceback (most recent call last):
File "quart\app.py", line 1862, in handle_request
File "quart\app.py", line 1887, in full_dispatch_request
File "quart\app.py", line 1104, in handle_user_exception
File "quart\app.py", line 1885, in full_dispatch_request
File "quart\app.py", line 1933, in dispatch_request
File "server.py", line 290, in handle_data
File "NotionAI\NotionAI.py", line 60, in run
File "image_tagging\image_tagging.py", line 21, in init
ValueError: could not convert string to float: ''
Executing <Task finished name='Task-25' coro=<ASGIHTTPConnection.handle_request() done, defined at quart\asgi.py:70> exception=ValueError("could not convert string to float: ''") created at quart\asgi.py:28> took 1.532 seconds
Error in ASGI Framework
Traceback (most recent call last):
File "hypercorn\asyncio\context.py", line 39, in _handle
File "hypercorn\utils.py", line 239, in invoke_asgi
File "quart\app.py", line 2117, in call
File "quart\app.py", line 2140, in asgi_app
File "quart\asgi.py", line 33, in call
File "quart\asgi.py", line 256, in _raise_exceptions
File "quart\asgi.py", line 72, in handle_request
File "quart\app.py", line 1866, in handle_request
File "quart\app.py", line 1118, in handle_exception
File "quart\app.py", line 1862, in handle_request
File "quart\app.py", line 1887, in full_dispatch_request
File "quart\app.py", line 1104, in handle_user_exception
File "quart\app.py", line 1885, in full_dispatch_request
File "quart\app.py", line 1933, in dispatch_request
File "server.py", line 290, in handle_data
File "NotionAI\NotionAI.py", line 60, in run
File "image_tagging\image_tagging.py", line 21, in init
ValueError: could not convert string to float: ''
[2021-05-21 11:06:19,621] Error in ASGI Framework
Traceback (most recent call last):
File "hypercorn\asyncio\context.py", line 39, in _handle
File "hypercorn\utils.py", line 239, in invoke_asgi
File "quart\app.py", line 2117, in call
File "quart\app.py", line 2140, in asgi_app
File "quart\asgi.py", line 33, in call
File "quart\asgi.py", line 256, in _raise_exceptions
File "quart\asgi.py", line 72, in handle_request
File "quart\app.py", line 1866, in handle_request
File "quart\app.py", line 1118, in handle_exception
File "quart\app.py", line 1862, in handle_request
File "quart\app.py", line 1887, in full_dispatch_request
File "quart\app.py", line 1104, in handle_user_exception
File "quart\app.py", line 1885, in full_dispatch_request
File "quart\app.py", line 1933, in dispatch_request
File "server.py", line 290, in handle_data
File "NotionAI\NotionAI.py", line 60, in run
File "image_tagging\image_tagging.py", line 21, in init
ValueError: could not convert string to float: ''
[2021-05-21 11:06:19,631] 192.168.1.102:3859 POST /handle_data 1.1 500 - 1567115
192.168.1.102:3859 POST /handle_data 1.1 500 - 1567115

is this project dead?

Hey,

I came accross your github repo, and it seems really good, I want to give it a try.
but did the project is dead?

Thank for your work

Ability to add title and tags, etc

Hey again, I thought I would open this as a separate ticket from what was mentioned in #8, so that I can expound on the idea, and whenever you get around to working on it we can debug here specifically.


I had already mentioned the idea of adding a title on-the-fly. This could potentially be a box to type in at the top of your pop-up box in the top right hand corner. It would be nice if it auto-inherited the page name (i.e. the name it was already going to save as) so that you can edit it. This is how the official Notion extension already works.

This Title field, and the other field(s) I mention below, would appear after selecting which collection to save to first.


I also thought of being able to change other fields on-the-fly. An example of this would be: The table you're capturing to has a "Tags" field for tagging the type of article it is. Your popup box, underneath where the title would be, could offer a box to type/select a tag straight from there. This would save time later needing to tag them within Notion itself.

Typing vs Selecting: I imagine the easiest way to implement this would be to simply offer a text box that the user can type the tag(s) into. This functionality is exactly like the Title idea above, but saves into a different field. However, the trouble here might be that the user wants the Tag field to be a "Select" or "Multi select" type, where Notion requires that the choice be one of a pre-determined list. In this way then, it would be ideal if your popup box could live pull the options from that box, and provide them in a dropdown list within the popup. Simplifying it for the user.

Making a dropdown box could be more challenging and time consuming, and for that reason I personally dont mind it just being a typing field to start with. I only have a handful of tags that I use, and remember them exactly, so if you were going to work on this and wanted to get it out as a feature faster, I don't mind. However if you already know how to pull data live from Notion and it's not much harder to do, that would be more ideal.

And, this idea can technically be expanded to offer more fields to edit on-the-fly in the popup box, if they were to be added down the road, the structure would already be in place for it.

Let me know your thoughts? We can keep this ticket open for discussion and debugging.

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.