Skip to content

A collaborative note taking, wiki and documentation platform that scales. Built with Django and React. Opensource alternative to Notion or Confluence.

License

Notifications You must be signed in to change notification settings

YousefED/docs-1

 
 

Repository files navigation

Docs

Welcome to Docs! The open source document editor where your notes can become knowledge through live collaboration

Chat on Matrix - Documentation - Getting started

Why use Docs ❓

Docs is a collaborative text editor designed to address common challenges in knowledge building and sharing.

Write

  • 😌 Simple collaborative editing without the formatting complexity of markdown
  • 🔌 Offline? No problem, keep writing, your edits will get synced when back online
  • 💅 Create clean documents with limited but beautiful formatting options and focus on content
  • 🧱 Built for productivity (markdown support, many block types, slash commands, markdown support, keyboard shortcuts) (page in french sorry 😅).
  • ✨ Save time thanks to our AI actions (generate, sum up, correct, translate)

Collaborate

  • 🤝 Collaborate in realtime with your team mates
  • 🔒 Granular access control to keep your information secure and shared with the right people
  • 📑 Professional document exports in multiple formats (.odt, .doc, .pdf) with customizable templates
  • 📚 Built-in wiki functionality to transform your team's collaborative work into organized knowledge ETA 02/2025

Self-host

  • 🚀 Easy to install, scalable and secure alternative to Notion, Outline or Confluence

Getting started 🔧

Test it

Test Docs on your browser by logging in on this environment

email: test.docs@yopmail.com
password: I'd<3ToTestDocs

Run it locally

Prerequisite Make sure you have a recent version of Docker and Docker Compose installed on your laptop:

$ docker -v

Docker version 20.10.2, build 2291f61

$ docker compose -v

docker compose version 1.27.4, build 40524192

⚠️ You may need to run the following commands with sudo but this can be avoided by assigning your user to the docker group.

Project bootstrap The easiest way to start working on the project is to use GNU Make:

$ make bootstrap FLUSH_ARGS='--no-input'

This command builds the app container, installs dependencies, performs database migrations and compile translations. It's a good idea to use this

command each time you are pulling code from the project repository to avoid dependency-releated or migration-releated issues.

Your Docker services should now be up and running 🎉

You can access to the project by going to http://localhost:3000.

You will be prompted to log in, the default credentials are:

username: impress

password: impress

📝 Note that if you need to run them afterwards, you can use the eponym Make rule:

$ make run-with-frontend

⚠️ For the frontend developper, it is often better to run the frontend in development mode locally.

To do so, install the frontend dependencies with the following command:

$ make frontend-install

And run the frontend locally in development mode with the following command:

$ make run-frontend-development

To start all the services, except the frontend container, you can use the following command:

$ make run

Adding content You can create a basic demo site by running:

$ make demo

Finally, you can check all available Make rules using:

$ make help

Django admin You can access the Django admin site at

http://localhost:8071/admin.

You first need to create a superuser account:

$ make superuser

Feedback 🙋‍♂️🙋‍♀️

We'd love to hear your thoughts and hear about your experiments, so come and say hi on Matrix.

Roadmap

Want to know where the project is headed? 🗺️ Checkout our roadmap

Licence 📝

This work is released under the MIT License (see LICENSE).

While Docs is public driven initiative our licence choice is an invitation for private sector actors to use, sell and contribute to the project.

Contributing 🙌

This project is intended to be community-driven, so please, do not hesitate to get in touch if you have any question related to our implementation or design decisions.

If you intend to make pull requests see CONTRIBUTING for guidelines.

Directory structure:

docs
├── bin - executable scripts or binaries that are used for various tasks, such as setup scripts, utility scripts, or custom commands.
├── crowdin - for crowdin translations, a tool or service that helps manage translations for the project.
├── docker - Dockerfiles and related configuration files used to build Docker images for the project. These images can be used for development, testing, or production environments.
├── docs - documentation for the project, including user guides, API documentation, and other helpful resources.
├── env.d/development - environment-specific configuration files for the development environment. These files might include environment variables, configuration settings, or other setup files needed for development.
├── gitlint - configuration files for `gitlint`, a tool that enforces commit message guidelines to ensure consistency and quality in commit messages.
├── playground - experimental or temporary code, where developers can test new features or ideas without affecting the main codebase.
└── src - main source code directory, containing the core application code, libraries, and modules of the project.

Credits ❤️

Stack

Impress is built on top of Django Rest Framework, Next.js, MinIO and BlocNote.js

States ❤️ open source

Docs is the result of a joint effort lead by the French 🇫🇷🥖 (DINUM) and German 🇩🇪🥨 government (ZenDiS). We are always looking for new public partners feel free to reach out if you are interested in using or contributing to docs.

About

A collaborative note taking, wiki and documentation platform that scales. Built with Django and React. Opensource alternative to Notion or Confluence.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 49.8%
  • TypeScript 40.2%
  • CSS 6.0%
  • JavaScript 1.1%
  • Shell 0.9%
  • Makefile 0.9%
  • Other 1.1%