F
F
Fengol2018-03-01 20:07:46
GitHub
Fengol, 2018-03-01 20:07:46

Is it possible to do this with github?

There is an actual tutorial for which I am writing a web desktop application and there was a desire to make it editable by readers, like a Toaster. The first thing I thought about was putting the text itself on github,
but I'm not sure that you can interact with github in this way. So the main question is, is it possible to put files on github and display them in a web application? In addition, is it possible to roll back versions and automatically change information about the changes themselves? That is, the chapters of the tutorial are very large and I would like them to be cached by the browser. But this encourages the links referring to these files to contain the actual hash, and of course everything should be automated.
In addition, the question arises whether it is possible to work with github with an unauthorized webapp, so that all requests go without my account password.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2018-03-01
@saboteur_kiev

1. google docs?
2. on what thread vps to start your site on a popular wiki engine?
3. For writers, there are online services for editing large texts, chapter by chapter. You can try to use it for the manual.
4. Well, you can upload chapters on github as separate documents. And give push rights to other users.

S
SagePtr, 2018-03-01
@SagePtr

In principle, it is possible through github, but to edit the text you need to fork the repository, make changes, make a pull request, and you will have to manually check all pull requests and merge them (sometimes sort out conflicts if several different pull requests). Through the github web face, some of these tasks can be simplified, but there is still a hassle in this case. Is it necessary?
Github is more convenient if the contributors are more or less constant, everyone does not hesitate to store a fork of the repository on disk, update it, synchronize it and make pull requests as they work, and for many small edits there are more convenient tools.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question