GithubHelp home page GithubHelp logo

adrelanos / package_parser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from derivative-maker/package_parser

0.0 1.0 0.0 298 KB

An application for parsing Whonix and Kicksecure packages in to HTML

Shell 22.17% Ruby 66.39% HTML 11.45%

package_parser's Introduction

Description

A simple application that uses Ruby to generate markdown data for Whonix and Kicksecure HTML packages sites.

Markdown will be placed in ./docs

Setup

In order for it to work, Ruby 3 must be installed. Also, you must have the respective kicksecure or whonix package repository.

  1. Install Ruby. You can use apt-get, rbenv, RVM, or asdf to do this. The repo author prefers rbenv.
  2. Download the packages repository
ruby --version # verify this is >= 3.0.0
sudo apt install rsync
rsync-ssl --recursive --delete --times --perms rsync://whonix.org/whonix/developer-meta-files/internal/ ../whonix-repository

Usage

Generating Package Markdown

From the root of this repository:

# ruby runner.rb <os_type> <repository_path>
ruby runner.rb whonix ../whonix-repository

Generating an entire HTML site

From the root of this directory, ensure the following directory structure with tree -L 1 ..

./
├── kicksecure-packages
├── kicksecure-repository
├── package_parser
├── whonix-packages
└── whonix-repository

cd back in to the directory the following command

./build-site.sh <os_type> <desired_static_output_path>

example:

./build-site.sh whonix ../whonix-packages-html

package_parser's People

Contributors

mycobee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.