URL scheme


Package search

You can simply point a package search query with the following URL: http://sources.debian.net/search/query See example

File search

The URL for a SHAsum search is: http://sources.debian.net/sha256/?checksum=sha256&package=packagename Specifying a package name is optional.

Code search

You can search within the code through tags. http://sources.debian.net/ctag/?ctag=tag&package=packagename Specifying a package name is optional.

Package list


http://sources.debian.net/list/INT See example

By prefix

http://sources.debian.net/prefix/prefix See example

Package versions

You can list the different versions of a package, accessing this URL: http://sources.debian.net/src/packagename See example

Navigation within a package

You can list the files in a package or in a particular folder of a package, accessing one of these URLs: http://sources.debian.net/src/packagename/version or: http://sources.debian.net/api/src/packagename/latest to use automatically the latest available version of the package.
See example

http://sources.debian.net/src/packagename/version/path/to/dir See example

Source code displaying

To simply display a source file: http://sources.debian.net/src/packagename/version/path/to/file See example

To point a specific line in a source file: http://sources.debian.net/src/packagename/version/path/to/file#LINT See example

If you want to embed a source code file in e.g. an iframe, use: http://sources.debian.net/embed/file/packagename/version/path/to/file#LINT

To use with options: http://sources.debian.net/src/packagename/version/path/to/file?opt1=val1&opt2=val2[...]#LINT

Available options

See complete example


You can embed an infobox about a particular version of a package (the same infobox which appears when you browse a package) using: http://sources.debian.net/embed/pkginfo/packagename/version