知识管理和协作平台

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

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