ByteVCS
A Git-inspired version control system written in Python, with optional hosted repositories that you can browse on the web.
- Website: https://byte-vcs.vercel.app
- Source: https://github.com/sahanasudhakar05/ByteVCS
Install
pip install bytevcs
Requires Python 3.10 or newer.
Use it locally
mkdir my-project && cd my-project
bytevcs init
bytevcs add .
bytevcs commit -m "first commit"
bytevcs log
Other commands: status, diff, rm, branch, checkout, merge. Run bytevcs --help for the full list.
bytevcs add . stages a whole folder. It skips secrets and clutter by default (.env files, private keys, node_modules, __pycache__, .venv, .git) and any file over 5 MB. Add your own patterns, one per line, in a .bytevcsignore file.
Put a project online
- Create an account at https://byte-vcs.vercel.app and choose a username.
- Open Settings and tokens, create a token, and copy it. It is shown only once.
- In your terminal:
bytevcs login
cd my-project
bytevcs push # private by default
bytevcs push --public # make it public when it is first created
The first push creates the repository on the server under your username. Use --name to pick a different repository name.
Anyone can browse a public repository on the website, and clone it without an account:
bytevcs clone https://bytevcs.onrender.com/<username>/<repository>
Private repositories can only be seen and cloned by their owner. Only the owner can push. bytevcs pull fetches new commits, and a push is refused when the server has commits you do not have, so one machine can never silently overwrite another.
Every repository page has a Time machine: drag through the project's history and see it grow, with what changed in each commit.
Your login
bytevcs login stores your token in your user configuration folder (%APPDATA%\bytevcs on Windows, ~/.config/bytevcs elsewhere). The token is only sent over https://, or to your own computer. You can revoke it any time on the Settings page. Use bytevcs logout to remove it from this machine.
To use a different server, run bytevcs login --server https://your-server. The environment variables BYTEVCS_SERVER and BYTEVCS_TOKEN override the saved login.
Limits and notes
- The hosted service is a small free-tier project. The first request after a quiet period can take up to a minute.
- A push is limited to 25 MB and 5,000 new objects, and a single file to 5 MB.
- Repositories cannot be deleted yet.
- Do not store data you cannot afford to lose on the hosted service.
License
MIT. See the LICENSE file.
Metadata
Release files for bytevcs 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bytevcs-0.2.0.tar.gz | 20.3 kB | Without provenance | Details for bytevcs-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bytevcs-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for bytevcs-0.2.0-py3-none-any.whl |
Total release size: 41.2 kB
Release files / bytevcs-0.2.0.tar.gz
| Download URL | bytevcs-0.2.0.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6b2b104b4dd969614496712ed727ef7959163bff0d2d3ba0f18fc5a8d0b669f
|
|
BLAKE2b-256 checksum How to use checksums |
be16dd772fad6e92a677a615064bc17a1eb3c3e7e140f2340bef8b151e8b3d4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / bytevcs-0.2.0-py3-none-any.whl
| Download URL | bytevcs-0.2.0-py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ad8b82a03b354102113651940ecabe097021a0677ae248a86c2f2c4a6083ad5
|
|
BLAKE2b-256 checksum How to use checksums |
89317bf0bbbbecf456ff68caa656dec5d9297550c0c9d5b2c203af8cdd444395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for bytevcs 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.