Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "apps/app/distribute/linux/flatpak/flatpak-builder-tools"]
path = apps/app/distribute/linux/flatpak/flatpak-builder-tools
url = https://github.com/flatpak/flatpak-builder-tools.git
7,600 changes: 7,600 additions & 0 deletions apps/app/distribute/linux/flatpak/cargo-sources.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions apps/app/distribute/linux/flatpak/flatpak-builder-tools
Submodule flatpak-builder-tools added at 216a52
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
id: io.github.keshav-writes-code.cherit

runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk

command: cherit
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --device=dri
- --share=ipc
- --share=network
- --filesystem=home
- --filesystem=xdg-documents
- --filesystem=xdg-config
sdk-extensions:
- org.freedesktop.Sdk.Extension.node20
- org.freedesktop.Sdk.Extension.rust-stable
build-options:
append-path: /usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin

modules:
- name: cherit
buildsystem: simple
env:
HOME: /run/build/cherit
CARGO_HOME: /run/build/cherit/cargo
XDG_CACHE_HOME: /run/build/cherit/flatpak-node/cache
yarn_config_offline: 'true'
yarn_config_cache: /run/build/cherit/flatpak-node/yarn-cache
sources:
- type: git
url: https://github.com/Keshav-writes-code/Cherit.git
branch: main
- type: file
path: cargo-sources.json
- type: file
path: node-sources.json
build-commands:
- echo -e 'yarn-offline-mirror "/run/build/cherit/flatpak-node/yarn-mirror"\nyarn-offline-mirror-pruning true' > .yarnrc
- mkdir -p apps/app/src-tauri/.cargo && echo -e '[source.crates-io]\nreplace-with = "vendored-sources"\n\n[source.vendored-sources]\ndirectory = "/run/build/cherit/cargo/vendor"' > apps/app/src-tauri/.cargo/config.toml
- yarn install --offline --immutable --immutable-cache --inline-builds
- yarn workspace cherit run tauri build -- -b deb
- ar -x apps/app/src-tauri/target/release/bundle/deb/*.deb
- |
if [ -f data.tar.xz ]; then
tar -xf data.tar.xz
else
tar -xf data.tar.gz
fi
- install -Dm755 usr/bin/cherit /app/bin/cherit
- sed -i 's/^Icon=cherit/Icon=io.github.keshav-writes-code.cherit/' usr/share/applications/cherit.desktop
- install -Dm644 usr/share/applications/cherit.desktop /app/share/applications/io.github.keshav-writes-code.cherit.desktop
- install -Dm644 usr/share/icons/hicolor/128x128/apps/cherit.png /app/share/icons/hicolor/128x128/apps/io.github.keshav-writes-code.cherit.png
- install -Dm644 usr/share/icons/hicolor/32x32/apps/cherit.png /app/share/icons/hicolor/32x32/apps/io.github.keshav-writes-code.cherit.png
- |
if [ -f usr/share/icons/hicolor/256x256@2/apps/cherit.png ]; then
install -Dm644 usr/share/icons/hicolor/256x256@2/apps/cherit.png /app/share/icons/hicolor/512x512/apps/io.github.keshav-writes-code.cherit.png
fi
- |
if [ -f usr/share/icons/hicolor/scalable/apps/cherit.svg ]; then
install -Dm644 usr/share/icons/hicolor/scalable/apps/cherit.svg /app/share/icons/hicolor/scalable/apps/io.github.keshav-writes-code.cherit.svg
fi
- install -Dm644 usr/share/metainfo/io.github.keshav-writes-code.cherit.metainfo.xml /app/share/metainfo/io.github.keshav-writes-code.cherit.metainfo.xml
62 changes: 62 additions & 0 deletions apps/app/distribute/linux/flatpak/metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.keshav-writes-code.cherit</id>
<launchable type="desktop-id">io.github.keshav-writes-code.cherit.desktop</launchable>
<name>Cherit</name>
<developer id="io.github.keshav-writes-code">
<name>Keshav-writes-code</name>
</developer>
<content_rating type="oars-1.1">
</content_rating>
<keywords>
<keyword>Markdown</keyword>
<keyword>Editor</keyword>
<keyword>Obsidian</keyword>
<keyword>Note-taking</keyword>
<keyword>Local-first</keyword>
</keywords>
<branding>
<color type="primary" scheme_preference="light">#8f4bf6</color>
<color type="primary" scheme_preference="dark">#8f4bf6</color>
</branding>
<recommends>
<display_length compare="ge">360</display_length>
</recommends>
<summary>A WSYIWYG Markdown Editor Inspired by Obsidian</summary>
Copy link

Copilot AI Feb 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'WSYIWYG' to 'WYSIWYG' (What You See Is What You Get).

Suggested change
<summary>A WSYIWYG Markdown Editor Inspired by Obsidian</summary>
<summary>A WYSIWYG Markdown Editor Inspired by Obsidian</summary>

Copilot uses AI. Check for mistakes.

<metadata_license>MIT</metadata_license>
<project_license>GPL-2.0</project_license>
<url type="homepage">https://github.com/Keshav-writes-code/Cherit</url>

<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>

<description>
<p>
Cherit is a cross-platform (mobile &amp; desktop), local-first version of Obsidian with syncing functionality built-in. It is designed to work in a seamless, hassle-free way, providing a WYSIWYG Markdown editing experience.
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://github.com/user-attachments/assets/920c3f9e-f2d0-498e-bcf4-a27b7117f71f</image>
<caption>Cherit Interface</caption>
</screenshot>
<screenshot>
<image>https://github.com/user-attachments/assets/a87a2221-1d46-4348-b382-880c9da05196</image>
<caption>Cherit Editor</caption>
</screenshot>
</screenshots>
<releases>
<release version="0.0.1" date="2026-02-01" >
<description>
<ul>
<li>Initial release</li>
</ul>
</description>
</release>
</releases>
<update_contact>keshav-writes-code@users.noreply.github.com</update_contact>
</component>
Loading
Loading