Skip to content

Repository files navigation

Arcanum

A sample local Git web interface. Based on homework for 15th Yandex Interface Development School (2019, autumn).

Created with create-next-app.

Features

  • listing local repos and switching between them

screenshots/select_repo.png

screenshots/select_repo_1.png

screenshots/select_repo_m.png screenshots/select_repo_1_m.png

  • file structure explorer to browse all files and folders within the repo

screenshots/table.png screenshots/table_m.png

  • file viewer to show file content and file size

screenshots/file_viewer.png

  • last commit info for selected file or folder
  • listing local branches (both for the entire repo and for its files and subfolders) and switching between them

screenshots/select_branch.png

screenshots/select_branch_1.png

screenshots/branches.png

screenshots/select_branch_m.png screenshots/select_branch_1_m.png screenshots/branches_m.png

Technologies

Requirements

Usage & development

  1. Install yarn if needed.
  2. git clone https://github.com/wwwildcat/shri-arcanum.git
  3. Create a file called .env on the root of the project and add the BASE_PATH variable:
BASE_PATH='path'

where path is your absolute path to local directory that contains Git repositories, example: /home/user/repos.

  1. yarn install
  2. yarn dev
  3. URL: http://localhost:3000

Unit testing

yarn test

Using Jest, react-testing-library, jest-dom with redux-mock-store, node-mocks-http and jest-fetch-mock.

About

A sample local Git web interface on Next.js

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages