Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: add contributing

Louis Beaumont15018f40b540
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 000000000..1aa3e221f
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,88 @@
+# Contributing to Screen Pipe
+
+First off, thank you for considering contributing to Screen Pipe! It's people like you that make Screen Pipe such a great tool.
+
+I'd love to personnally onboard you to the project. Let's [schedule a call](https://cal.com/louis030195/screenpipe).
+
+## Getting Started
+
+Before you begin:
+- Make sure you have installed all the necessary dependencies as mentioned in the [README.md](README.md).
+- Familiarize yourself with the project structure and architecture.
+
+## How Can I Contribute?
+
+### Reporting Bugs
+
+This section guides you through submitting a bug report for Screen Pipe. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
+
+- Use a clear and descriptive title for the issue to identify the problem.
+- Describe the exact steps which reproduce the problem in as many details as possible.
+- Provide specific examples to demonstrate the steps.
+
+### Suggesting Enhancements
+
+This section guides you through submitting an enhancement suggestion for Screen Pipe, including completely new features and minor improvements to existing functionality.
+
+- Use a clear and descriptive title for the issue to identify the suggestion.
+- Provide a step-by-step description of the suggested enhancement in as many details as possible.
+- Explain why this enhancement would be useful to most Screen Pipe users.
+
+### Pull Requests
+
+- Fill in the required template
+- Do not include issue numbers in the PR title
+- Include screenshots and animated GIFs in your pull request whenever possible.
+- Follow the Rust styleguides.
+- End all files with a newline.
+
+## Styleguides
+
+### Git Commit Messages
+
+- Use the present tense ("Add feature" not "Added feature")
+- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
+- Limit the first line to 72 characters or less
+- Reference issues and pull requests liberally after the first line
+
+### Rust Styleguide
+
+All Rust code must adhere to [Rust Style Guide](https://github.com/rust-lang/style-team/blob/master/guide/guide.md).
+
+## Additional Notes
+
+### Issue and Pull Request Labels
+
+This section lists the labels we use to help us track and manage issues and pull requests.
+
+* `bug` - Issues that are bugs.
+* `enhancement` - Issues that are feature requests.
+* `documentation` - Issues or pull requests related to documentation.
+* `good first issue` - Good for newcomers.
+
+## Running Tests
+
+Before submitting a pull request, run all the tests to ensure nothing has broken:
+
+```bash
+cargo test
+```
+
+
+## Optimization
+
+For performance optimization, you can use the following command:
+
+```bash
+cargo install cargo-instruments
+# tracking leaks over 60 minutes time limit
+cargo instruments -t Leaks --bin screenpipe --features metal --time-limit 600000 --open
+```
+
+
+## Join the Community
+
+Say πŸ‘‹ in our [public Discord channel](https://discord.gg/dU9EBuw7Uq). We discuss how to bring this lib to production, help each other with contributions, personal projects or just hang out β˜•.
+
+Thank you for contributing to Screen Pipe! πŸŽ‰
+
diff --git a/README.md b/README.md
index b22c18346..f637ea1d9 100644
--- a/README.md
+++ b/README.md
@@ -203,13 +203,7 @@ Any interfaces are out of scope and should be built outside this repo, for examp
## Contributing
-Contributions are welcome! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
-
-Say πŸ‘‹ in our [public Discord channel](https://discord.gg/dU9EBuw7Uq) . We discuss how to bring this lib to production, help each other with contributions, personal projects or just hang out β˜•.
-
-Bit more details on the architecture [here](https://link.excalidraw.com/l/5MKXLddifTr/8subenQGvcd).
-
-We recommend using [TablePlus](https://tableplus.com/) to view the SQLite database.
+Contributions are welcome! If you'd like to contribute, please read [CONTRIBUTING.md](CONTRIBUTING.md).
## Licensing