A simple front end application built using React. On Debian and Ubuntu systems, there is a file called /var/lib/dpkg/status that holds information about software packages that the system knows about. This app exposes some key information about packages in the file via an HTML interface.
- The index page lists installed packages alphabetically with package names as links.
- When following each link, you arrive at a piece of information about a single package. The following information is included:
- Name
- Description
- The names of the packages the current package depends on
- Reverse dependencies, i.e. the names of the packages that depend on the current package
- The dependencies and reverse dependencies are clickable and the user can navigate the package structure by clicking from package to package.
- User can add notes to individual packages
- User can add multiple tags to individual packages
- Packages can be filtered by tag name from the index page (only works when complete tag is provided , i.e. no partial matches)
- The browser local storage is in use to persist the data.
- Improve state management by using Redux.
Clone the dpkg
repository locally. In a terminal, run:
$ git clone https://github.com/pankaj-pant/dpkg.git
$ cd dpkg
To install the dependencies run the command:
$ npm install
This command serves the app at http://localhost:3000/
.
$ npm start
To clear local storage please use the following command in the browser developer tools console.
localStorage.clear()