Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/code-and-comment/code-and-comment

PWA to add comment to Github file.
https://github.com/code-and-comment/code-and-comment

preact preact-router pwa reading-code unistore

Last synced: about 2 months ago
JSON representation

PWA to add comment to Github file.

Lists

README

        

# Code and Comment

`Code and Comment` is PWA to add comment to Github file.

## Demo

[https://code-and-comment.github.io/code-and-comment/](https://code-and-comment.github.io/code-and-comment/)

### Note

The status of this application is pre-alpha.
Many breaking changes will be added to this application.
`https://code-and-comment.github.io/code-and-comment/` is demo.
This is at experiment stage.
You should not use this application as product.

## Usage

* Click "New".
* Input the file url in Github.
Example:
https://github.com/developit/preact/blob/10.0.0-alpha.2/src/component.js
https://github.com/developit/preact/blob/c66ec75176ac5df60824adbe6152ed577fa7b74f/src/component.js
https://github.com/developit/preact/blob/master/src/component.js
* Click code. Add the comment by Markdown.
* When a line number is clicked, the comment is hidden.

### Link for a line

`#/r/:id/:line_number`

### Keyboard shortcuts

#### On code

* m: marking to line
* g: scrolling to marked line

## Support

* Chrome@73+

## Contribution

Please see [CONTRIBUTING.md](https://github.com/code-and-comment/code-and-comment/blob/master/CONTRIBUTING.md).