Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More β
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More β
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More β
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More β
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More β
A Python application for migrating content from Notion to Confluence Cloud with a user-friendly graphical interface.
Table of Contents
Features
- Notion to Confluence: Transfer selected Notion pages to Confluence spaces.
- Confluence to Notion: (Currently broken; TODO: Fix this functionality).
- User Interface: A GUI that allows users to select content and destinations, with plans for a major UI overhaul.
- Content Creation: Create new Confluence spaces directly from the application.
- Security: Comprehensive security review planned.
- Cloud Deployment: Future plans include packaging this tool as a cloud service/app.
- Helper Text: Improve helper text for where to get the secrets.
Requirements
- Python 3.7 or higher
python-dotenv
for handling environment variables
Prerequisites
In order to use this app you'll need to have already:
- Create a Notion Integration app
- Create a Confluence app
Creating a Notion Integration
- Sign in to Notion: Go to Notion and sign in with your account.
- Create an Integration:
- Navigate to Notion Integrations.
- Click on + New Integration.
- Fill in the required fields such as Name and Associated Workspace.
- Select the necessary permissions for the integration.
- Click Submit to create the integration.
- Get Your Integration Token: After creating the integration, copy the Integration Token provided. This will be used in the
.env
file.
Creating a Confluence App
-
Sign in to Atlassian: Go to Atlassian Developer and sign in with your Atlassian account.
-
Create a New App:
- Navigate to the Developer Console.
- Click on Create New App.
- Select OAuth 2.0 as the authentication method.
- Fill in the required fields such as App Name and App Description.
-
Set Up OAuth 2.0:
- After creating the app, navigate to the Authorization tab.
- Add the following scopes:
- Add
http://localhost:8000/callback
as the Redirect URI.
- Save the changes.
- Get Your Client ID and Client Secret: Go to the Credentials tab. Copy the
Client ID
and Client Secret
. These will be used in the .env
file.
Directory Structure
Installation
-
Clone the repository:
-
Create a virtual environment:
-
Install required packages:
-
Copy the example environment file and fill in your credentials:
-
Edit the .env file and replace the placeholder values with your actual credentials.
Environment Variables
The application uses environment variables to store sensitive information. These variables are loaded from a .env file located in the project root.
Example .env file:
Usage
-
Launch the application:
-
Follow the on-screen instructions to authenticate and select or create spaces in Confluence.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request. When contributing, please ensure you follow the coding standards and include appropriate tests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
TODO
These are things I hope to improve about this project: