Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

milkode

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

milkode

  • 1.8.9.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Milkode

Version Build Status

Milkode is source code search engine of "line-oriented" written by Ruby.It have command line interface and web application. It will accelerate the code reading of your life.

It is possible from the file tens of thousands of the order, to search instantly a line that contains the keyword of interest.

Milkode is "見るコード". "See a code" is meaning.

Honyomi are brothers.

milk-web-01.jpg

Installation

$ gem install milkode

When you faild to install Rroonga, Please refer.

Usage

Create a database

$ milk init --default
create     : /Users/auser/.milkode/milkode.yaml
create     : /Users/auser/.milkode/db/milkode.db created.

Create database to current dir.

$ milk init
Create database to "/path/to/dir/db/honyomi.db"

If you want to use custom database, Please specify MILKODE_DEFAULT_DIR variable.

$ MILKODE_DEFAULT_DIR=/path/to/dir milk add /path/to/project

Add packages

Add source code from local directory.

$ milk add ~/Documents/codes/linux-3.10-rc4
package    : linux-3.10-rc4
.
.
result     : 1 packages, 42810 records, 42810 add.
*milkode*  : 1 packages, 42810 records in /Users/ongaeshi/.milkode/db/milkode.db.

Add source code from gem.

$ milk add /opt/local/lib/ruby2.0/gems/2.0.0/gems/milkode-1.6.0/

Add source code from GitHub.

$ milk add https://github.com/ongaeshi/milkode.git -p git
$ milk add git://github.com/ongaeshi/milkode.git
$ milk add git://github.com/ongaeshi/milkode.git -b develop -n milkode_develop

Add source code from http-zip.

$ milk add http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.zip

List packages

$ milk list
a_project
milkode
milkode-1.6.0
ruby-2.1.2

Filter by keyword.

$ milk list milk
milkode-1.6.0
milkode

Search command line

Gmilk command can use the AND search.

$ cd ~/Documents/codes/linux-3.10-rc4
$ gmilk according prototypes
Documentation/cdrom/cdrom-standard.tex:977:  according to prototypes listed in \cdromh, and specifications given

Remember the project root.

$ cd driver/acpi
$ gmilk according prototypes
../../Documentation/cdrom/cdrom-standard.tex:977:  according to prototypes listed in \cdromh, and specifications given

Gomilk is faster version written by Go.

Web application

$ milk web

milk-web-02.jpg

Documents

Plugins

HISTORY

FAQs

Package last updated on 20 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc