知识管理和协作平台

Tienson Qin e23503a5f2 chore: updated readme пре 4 година
.clj-kondo b9a36d58f5 feat: add a kondo map for auto-transact! пре 4 година
.github b5f63d0d4b enhance: add arm64 m1 mac build пре 4 година
cypress d9bd7d08b3 feat(test): add template-basic e2e-test пре 4 година
docs 8ec454bc23 chore: rename LogSeq to Logseq пре 4 година
libs 9edd2c6f19 chore(plugin): bump minor version пре 4 година
public 980741ef97 improve(pdf): support block ref with highlight пре 4 година
resources 902f07c627 chore: bump version пре 4 година
scripts fe663cc858 chore: add publishing.sh пре 4 година
src aa83d13a65 fix: widen mode width пре 4 година
templates 9833b5439d enhance: add a warning on demo graph not being persisted пре 4 година
.gitignore f0af0f05dd test: cypress scaffolding пре 4 година
.prettierrc.js e7c6424426 chore: add a prettier config пре 4 година
.projectile f98a1f42cd add mhchem plugin пре 4 година
.stylelintrc.json 7c7ce3d740 refactor: add stylelint processor пре 5 година
CODEBASE_OVERVIEW.md 6cf48f0ce9 fix: switch to lowercase file extension пре 4 година
CODE_OF_CONDUCT.md a7616ca3d2 docs: add Code of Conduct пре 5 година
Dockerfile 8638c7f292 fix clojure version in Docker container пре 4 година
LICENSE.md a72ca41c95 fix(license): add exceptions for epl libraries пре 5 година
README.md e23503a5f2 chore: updated readme пре 4 година
cypress.json 69fa58ff9c test: add some tests пре 4 година
deps.edn c1368c58d0 fix: add back missing dep пре 4 година
externs.js d8d88b2449 fix(pdf): add externs for release optimization пре 4 година
gulpfile.js 133fbd97ce fix: add rebuild:better-sqlite3 to electron release пре 4 година
package.json b70f06a973 chore: bump mldoc пре 4 година
postcss.config.js 40d912c277 chore: upgrade tailwind пре 4 година
shadow-cljs.edn 0ad7d2b2c8 fix: publishing asset path пре 4 година
tailwind.all.css ac851bd7da style(pdf): import viewer css correctly пре 4 година
tailwind.config.js ccdbe92527 chore: fix indent пре 4 година
yarn.lock de7c6584fb enhance: pdf title пре 4 година

README.md

Logseq

latest release version License Twitter follow discord total

Contributors Contributors

A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base.

Use it to organize your todo list, to write your journals, or to record your unique life.

Download our free Desktop app

Sponsor our contributors on Open Collective, Logseq will move to Stripe later!

Why Logseq?

Logseq is a platform for knowledge management and collaboration. It focuses on privacy, longevity, and user control.

The server will never store or analyze your private notes. Your data are plain text files and we currently support both Markdown and Emacs Org mode (more to be added soon).

In the unlikely event that the website is down or cannot be maintained, your data is, and will always be yours.

Image of logseq

Sponsors

Our top sponsors are shown below! [Become a sponsor]

Plugins documentation (Draft)

The plugins documentation is at https://logseq.github.io/plugins. Any feedback would be greatly appreciated!

Feature requests

Please go to https://discuss.logseq.com/c/feature-requests/7.

How can I use it?

  1. Download the desktop app at https://github.com/logseq/logseq/releases.
  2. Start writing and have fun!

FAQ

1. Do you plan to charge for the logseq app (desktop/web/mobile)?

All the existing local-only features (including the latest SRS cards, pdf annoations, zotero integration) will be free to use, we'll announce a monthly subscription for syncing with our own storage, real-time collaboration, and other pro features in the future.

2. Do you commit to open source the frontend code (including the desktop/web/mobile apps) forever?

Yes. You can build the apps with the latest code and it'll work with your local files (markdown/org). The mobile app might start with a simple API but eventually, it'll have local files support.

3. Are you going to open-source the future server-side backend?

No, we have no plan for that. But we're considering providing a free self-host sync option for non-profit organizations or researchers in the future, the sync service for our own storage is not started yet.

Credits

Logseq is hugely inspired by Roam Research, Org Mode, Tiddlywiki, Workflowy and Cuekeeper, hats off to all of them!

Logseq is also made possible by the following projects:

Logseq Credits

Learn more


The following is for developers and designers who want to build and run Logseq locally and contribute to this project.

We also have a dedicated page for LogSeq's codebase overview.

Set up development environment

1. Requirements

  • Node.js & Yarn
  • Java & Clojure. (If you run into Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2). -M:cljs (No such file or directory), it means you have a wrong Clojure version installed. Please uninstall it and follow the instructions linked.)

2. Compile to JavaScript

git clone https://github.com/logseq/logseq
cd logseq
yarn
yarn watch

3. Open the browser

Open http://localhost:3001.

4. Build a release

yarn release

5. Run tests

Run ClojureScript tests

yarn test

Run Cypress tests

yarn e2e-test

Run Clojure tests. (Note: .cljc files may be tested both by ClojureScript, and Clojure.)

clj -Mtest-clj

Desktop app development

1. Compile to JavaScript

yarn watch

2. Open the dev app

yarn dev-electron-app

3. Build a release

yarn release-electron

Alternative: Docker based development environment

Basically it just pre-installs Java, Clojure and NodeJS for your convenience.

1. Fetch sources

git clone https://github.com/logseq/logseq

2. Build Docker image

cd logseq
docker build -t logseq-docker .

3. Run Docker container

docker run -v $(pwd):/home/logseq/logseq -p 3001:3001 -p 9630:9630 -p 8701:8701 --rm -it logseq-docker /bin/bash

4. Inside the container compile as described above

cd logseq
yarn
yarn watch

Thanks

JetBrains