Skip to content

Commit

Permalink
Nothing to see here
Browse files Browse the repository at this point in the history
  • Loading branch information
IRus committed Mar 22, 2024
1 parent 217b0d6 commit 0a6e1f8
Show file tree
Hide file tree
Showing 39 changed files with 2,708 additions and 873 deletions.
101 changes: 101 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
[*]
indent_size = 4
indent_style = space
charset = utf-8
insert_final_newline = true
end_of_line = lf
trim_trailing_whitespace = true
max_line_length = 100
tab_width = 4
ij_continuation_indent_size = 6
ij_formatter_off_tag = @formatter:off
ij_formatter_on_tag = @formatter:on
ij_formatter_tags_enabled = true
ij_smart_tabs = false
ij_visual_guides = 80,100
ij_wrap_on_typing = false

[*.kt]
ij_kotlin_align_multiline_parameters = true
ij_kotlin_align_multiline_parameters_in_calls = true
ij_kotlin_blank_lines_after_class_header = 0
ij_kotlin_blank_lines_around_block_when_branches = 0
ij_kotlin_wrap_first_method_in_call_chain = true
ij_kotlin_name_count_to_use_star_import = 2147483647
ij_kotlin_name_count_to_use_star_import_for_members = 2147483647
ij_kotlin_import_nested_classes = true
ij_kotlin_imports_layout = *, java.**, javax.**, kotlin.**, ^
ij_kotlin_packages_to_use_import_on_demand = java.util.*
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_method_parameters_new_line_after_left_paren = true
ij_kotlin_method_parameters_right_paren_on_new_line = true
ij_kotlin_call_parameters_new_line_after_left_paren = true
ij_kotlin_call_parameters_right_paren_on_new_line = true
ij_kotlin_call_parameters_wrap = split_into_lines
ij_kotlin_align_in_columns_case_branch = false
ij_kotlin_class_annotation_wrap = split_into_lines
ij_kotlin_keep_indents_on_empty_lines = false
ij_kotlin_continuation_indent_for_chained_calls = false
ij_kotlin_lbrace_on_next_line = false
ij_kotlin_catch_on_new_line = false
ij_kotlin_else_on_new_line = false
ij_kotlin_while_on_new_line = false
ij_kotlin_finally_on_new_line = false
ij_kotlin_method_call_chain_wrap = split_into_lines
ij_kotlin_align_multiline_method_parentheses = false
ij_kotlin_assignment_wrap = normal
ij_kotlin_line_break_after_multiline_when_entry = true
ij_kotlin_wrap_elvis_expressions = 2
ij_kotlin_align_multiline_binary_operation = false
ij_kotlin_align_multiline_extends_list = false
ij_kotlin_blank_lines_before_declaration_with_comment_or_annotation_on_separate_line = 1
ij_kotlin_block_comment_add_space = false
ij_kotlin_block_comment_at_first_column = true
ij_kotlin_continuation_indent_for_expression_bodies = false
ij_kotlin_continuation_indent_in_argument_lists = false
ij_kotlin_continuation_indent_in_elvis = false
ij_kotlin_continuation_indent_in_if_conditions = false
ij_kotlin_continuation_indent_in_parameter_lists = false
ij_kotlin_continuation_indent_in_supertype_lists = false
ij_kotlin_enum_constants_wrap = off
ij_kotlin_extends_list_wrap = normal
ij_kotlin_field_annotation_wrap = split_into_lines
ij_kotlin_if_rparen_on_new_line = true
ij_kotlin_insert_whitespaces_in_simple_one_line_method = true
ij_kotlin_keep_blank_lines_before_right_brace = 0
ij_kotlin_keep_blank_lines_in_code = 1
ij_kotlin_keep_blank_lines_in_declarations = 1
ij_kotlin_keep_first_column_comment = true
ij_kotlin_keep_line_breaks = true
ij_kotlin_line_comment_add_space = false
ij_kotlin_line_comment_add_space_on_reformat = false
ij_kotlin_line_comment_at_first_column = true
ij_kotlin_method_annotation_wrap = split_into_lines
ij_kotlin_method_parameters_wrap = split_into_lines
ij_kotlin_parameter_annotation_wrap = off
ij_kotlin_space_after_comma = true
ij_kotlin_space_after_extend_colon = true
ij_kotlin_space_after_type_colon = true
ij_kotlin_space_before_catch_parentheses = true
ij_kotlin_space_before_comma = false
ij_kotlin_space_before_extend_colon = true
ij_kotlin_space_before_for_parentheses = true
ij_kotlin_space_before_if_parentheses = true
ij_kotlin_space_before_lambda_arrow = true
ij_kotlin_space_before_type_colon = false
ij_kotlin_space_before_when_parentheses = true
ij_kotlin_space_before_while_parentheses = true
ij_kotlin_spaces_around_additive_operators = true
ij_kotlin_spaces_around_assignment_operators = true
ij_kotlin_spaces_around_equality_operators = true
ij_kotlin_spaces_around_function_type_arrow = true
ij_kotlin_spaces_around_logical_operators = true
ij_kotlin_spaces_around_multiplicative_operators = true
ij_kotlin_spaces_around_range = false
ij_kotlin_spaces_around_relational_operators = true
ij_kotlin_spaces_around_unary_operator = false
ij_kotlin_spaces_around_when_arrow = true
ij_kotlin_variable_annotation_wrap = off
ij_kotlin_wrap_expression_body_functions = 2

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# komok [![Build](https://github.com/Heapy/komok/actions/workflows/build.yml/badge.svg)](https://github.com/Heapy/komok/actions/workflows/build.yml)

## Local-First challenges

1. Represent every change in the system like event
2. Build event log
3. Use CRDT to merge events from different sources
4. Sync events between devices

## Project goals

- Help to collect information in single place and connect it;
- Help to collect information in a single place and connect it;
- Prioritize and schedule tasks (task can be anything, from learning and coding to resting and playing games);
- Help to focus by removing multiple sources of distraction, and consolidate them in single system that care about user, not profit.

Expand Down Expand Up @@ -153,4 +160,4 @@
This project is licensed under the terms of
the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.en.html).

<img src=".readme/AGPLv3_Logo.svg" width="150">
<img src=".readme/AGPLv3_Logo.svg" width="150" alt="AGPLv3 Logo">
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# docker-compose -f docker-compose.dev.yml up -d
services:
komok_database:
image: postgres:16.1
image: postgres:16.2
container_name: komok_database
restart: always
mem_limit: 128m
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarnPath: ".yarn/releases/yarn-berry.cjs"
yarnPath: .yarn/releases/yarn-4.1.1.cjs
15 changes: 8 additions & 7 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@
},
"homepage": "https://github.com/Heapy/komok#readme",
"devDependencies": {
"@types/node": "^20.11.24",
"@types/react": "^18.2.62",
"@types/react-dom": "^18.2.19",
"@types/node": "^20.11.30",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"compression-webpack-plugin": "^11.1.0",
"css-loader": "^6.10.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.8.1",
"sass": "^1.71.1",
"sass": "^1.72.0",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.90.3",
"typescript": "^5.4.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tslib": "^2.6.2"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 0a6e1f8

Please sign in to comment.