AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
58.43k stars 3.86k forks source link

[FR] Import a page from the zip file provided by Notion #2911

Open Mukund-Tandon opened 1 year ago

Mukund-Tandon commented 1 year ago

Description

When we export a page from Notion we get a zip file, which contains a markdown file with all the page contents and another folder having all the assets of the page like images.

Screenshot 2023-06-29 at 5 41 09 PM

In the import panel, there should be an option for importing from Notion. Then, we should have options to select what we want to import, such as pages, boards, grids, or calendars. When the user clicks on "pages" they should be able to select the zip file and import their page from there.

Impact

Any user who wants to import a page from Notion

Additional Context

No response

Mukund-Tandon commented 1 year ago

I would like to work on this issue

LogicFan commented 1 year ago

i think it would be better to fetch notion raw data using notion public api instead of using exported markdown since some info will be missing with exported markdown.

Mukund-Tandon commented 1 year ago

i think it would be better to fetch notion raw data using notion public api instead of using exported markdown since some info will be missing with exported markdown.

I think we can also implement fetching data from the Notion API along with the zip file. Since the Notion API does not provide the complete workspace, we need to use the export workspace option, which gives us a zip file. This issue is a prerequisite for that step.

Additionally, could you please let me know what things are missing with the exported markdown so that I can handle those cases appropriately?

LogicFan commented 1 year ago

i think it would be better to fetch notion raw data using notion public api instead of using exported markdown since some info will be missing with exported markdown.

I think we can also implement fetching data from the Notion API along with the zip file. Since the Notion API does not provide the complete workspace, we need to use the export workspace option, which gives us a zip file. This issue is a prerequisite for that step.

Additionally, could you please let me know what things are missing with the exported markdown so that I can handle those cases appropriately?

one example would be "Notion pages that contain parentheses or dashes in the title will have them removed by Notion while exporting your data so the file will be created without them, even though the link itself will still retain them." as quoted from an opensource implementation of notion2obsidian converter.

AkechiShiro commented 4 months ago

Any milestone version for this feature @annieappflowy ?