osmoscraft / osmosnote Goto Github PK
View Code? Open in Web Editor NEWThe knowledge IDE
Home Page: https://osmoscraft.org
The knowledge IDE
Home Page: https://osmoscraft.org
After navigating to linked notes, navigating back (Atl + left in most browsers) caused scroll to reset to page top.
This is necessary for adding line breaks when a line ends with the link
rg 13.0.0 stopped working with osmosnote. Need to investigate on the root cause.
For reference, the maintainer of rg provided additional guidance here: BurntSushi/ripgrep#2056
Expected: YYYYMMDDHHMMSS
Actual: YYYYMMDDHHMMLLL (where LLL is the millisecond portion of the timestamp)
It appears that the browser cannot detect xmodmap as arrow key events. Investigate whether we can use keyName instead of keyCode in javascript
windows 10 19042.1288
WSL: ubuntu Linux DESKTOP-RG3539D 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
docker desktop 4.0.1
I tried deploying osmosnote in Docker and setup a storage,when i run :
root@DESKTOP-RG3539D:/home/bob# sudo docker run -p 6684:6684 -e "OSMOSNOTE_REPO_DIR=/home/bob/osmosdata" -v /home/bob/osmosdata:/data -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -u 1000:1000 osmoscraft/osmosnote
i get the error info:
rgPath: /usr/bin/rg
rgVersion: 12.1.1 (rev a9a05b88c5)
gitPath: /usr/bin/git
gitVersion: 2.30.2
xargsPath: /usr/bin/xargs
xargsVersion: 4.8.0
[config] Username: bob
[config] env OSMOSNOTE_REPO_DIR: /home/bob/osmosdata
[config] env OSMOSNOTE_SERVER_PORT: 6683
[config] Creating dir: /home/bob/osmosdata
[config] Error creating repo directory: /home/bob/osmosdata Error: EACCES: permission denied, mkdir '/home/bob/osmosdata'
at Object.mkdirSync (node:fs:1334:3)
at Object.module2.exports.makeDirSync (/usr/local/bin/osmosnote/dist/main.js:39655:18)
at ensureRepoConfig (/usr/local/bin/osmosnote/dist/main.js:56910:31)
at async run (/usr/local/bin/osmosnote/dist/main.js:57931:3) {
errno: -13,
syscall: 'mkdir',
code: 'EACCES',
path: '/home/bob/osmosdata'
}
but i found the home/bob/osmosdata
directory creation succeeded
Ctrl + Enter to insert and move to new line below
Ctrl + Shift + Enter to insert and move to new line above
When using selected text to search, allow ctrl
+ enter
to insert a matched result while also replacing the selected text with matched title.
When git client uses main
as the default, local repo will be initialized with main
and later push to a remote main
.
The fix would respect the choice from the remote while creating the local branch. If the creation happened offline, the sync should rename local branch to whatever the remote uses.
e.g. with keybinding ctrl+space q
This would allow server to run in background without the need for the terminal
Current implementation uses scrollIntoView
, which does not always restore the exact position. A better algorithm should
Additionally:
URL should be case sensitive and all casing must be preserved when going through the parser
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.