All Projects → 10sr → Github Elpa

10sr / Github Elpa

Licence: unlicense
Build and Publish Your Own ELPA Repositories with GitHub Pages

Projects that are alternatives of or similar to Github Elpa

cmcodes1.github.io
😊 Here's my portfolio where you can see all my projects, blogs, and achievements.
Stars: ✭ 23 (+21.05%)
Mutual labels:  github-page
Reverse Shell Cheatsheet
🙃 Reverse Shell Cheat Sheet 🙃
Stars: ✭ 297 (+1463.16%)
Mutual labels:  github-page
Reverie
🎨 A ridiculously elegant Jekyll theme.
Stars: ✭ 442 (+2226.32%)
Mutual labels:  github-page
webpack3-react-starter
Sensible starter to try react with webpack
Stars: ✭ 24 (+26.32%)
Mutual labels:  github-page
online-resume
项目部署流程先从初始化Git库开始,编辑简历文件,将文件部署在Github Pages上,最后可以将其保存为pdf格式并打印出来。
Stars: ✭ 36 (+89.47%)
Mutual labels:  github-page
Liberxue.github.io
Liberxue blog for lightweight Jekyll themes 轻量级自适应 简洁 卡片式博客主题 3秒搞定GitHub blog
Stars: ✭ 330 (+1636.84%)
Mutual labels:  github-page
markdownprofile
Markdown Profiles is a project that generates markdown files for those that want an awesome Github profile.It provides several templates for you to use.
Stars: ✭ 30 (+57.89%)
Mutual labels:  github-page
Angular Cli Ghpages
🚀 Deploy your 🅰️Angular app to GitHub pages directly from the Angular CLI! Available on NPM.
Stars: ✭ 713 (+3652.63%)
Mutual labels:  github-page
TRHX.github.io
个人技术博客 My blog, mainly sharing some Python notes.
Stars: ✭ 25 (+31.58%)
Mutual labels:  github-page
Ghost On Github Pages
Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.
Stars: ✭ 421 (+2115.79%)
Mutual labels:  github-page
docshub
API Documentation Browser based Github Pages Service
Stars: ✭ 58 (+205.26%)
Mutual labels:  github-page
CodeForAfrica.org
The @CodeForAfrica landing page. Built with Jekyll and hosted on Github Pages. Accessible at https://codeforafrica.org/
Stars: ✭ 20 (+5.26%)
Mutual labels:  github-page
Siberiawolf.github.io
Siberiawolf的小窝
Stars: ✭ 353 (+1757.89%)
Mutual labels:  github-page
BaseMax.Github.io
Max Base Personal Website.
Stars: ✭ 20 (+5.26%)
Mutual labels:  github-page
Type On Strap
🎨 Simplistic, responsive jekyll based open source theme
Stars: ✭ 471 (+2378.95%)
Mutual labels:  github-page
presidium
Presidium user documentation
Stars: ✭ 25 (+31.58%)
Mutual labels:  github-page
Personal Site
My personal website - built with React, React-Router, React-Snap for Static-Export, and GitHub Pages.
Stars: ✭ 324 (+1605.26%)
Mutual labels:  github-page
Markdown Cv
a simple template to write your CV in a readable markdown file and use CSS to publish/print it.
Stars: ✭ 721 (+3694.74%)
Mutual labels:  github-page
Storybook Deployer
Deploy your storybook as a static site
Stars: ✭ 670 (+3426.32%)
Mutual labels:  github-page
Js.org
Dedicated to JavaScript and its awesome community since 2015
Stars: ✭ 3,996 (+20931.58%)
Mutual labels:  github-page

MELPA MELPA Stable

github-elpa

Build and publish your own ELPA repositories with GitHub Pages

Overview

github-elpa is an Emacs command-line utility to build your own package.el-compatible package repository in your git repository. By default this repository will be built into docs/elpa directory, so by just pushing it to GitHub you can publish the repository with GitHub Pages.

Setting up a repository and updating packages are really easy. Once you add a Cask file and package recipes in MELPA's format, issue just one simple command to update the ELPA repository.

Quick Start

This section describes how to setup your ELPA repository in your GitHub repository.

0. Prerequisite

  • A GitHub account, and a GitHub respository that you have a write-permission and can change Settings
  • Cask

1. Prepare Cask File

Put Cask file to the root of the GitHub repository. Typically it should look like:

(source gnu)
(source melpa)

(depends-on "github-elpa")

2. Add Recipes and Build Archives

Add recipe files in MELPA's format. By default github-elpa looks for recipes/ directory, but you can change this via -r command-line option (see below).

Once you put your recipe files, it is time to build your repository!

Issue following commands:

cask install  # Need only once
cask exec github-elpa update
git push

The second command will fetch packages described in recipes/, build archives into docs/elpa, and git-commit them.

3. Change Repository Setting

After you push docs/ directory, you need to change the GitHub repository setting. This setting is needed so that the ELPA repository can be accessed as a GitHub Pages.

  1. Go Settings page of your GitHub repository

settings.png

  1. In GitHub Pages, change Source to master branch /docs folder and Save it

source.png

Now it's all done!

Use and Maintainance

Add to Your Repository List

The published ELPA repository URL is https://<username>.github.io/<repository>/elpa/. For example, to use the repository of github-elpa itself, add following to your init.el:

(setq package-archives
      `(,@package-archives
        ("github-elpa" . "https://10sr.github.io/github-elpa/elpa/")))

Update Repository

When package upstreams are updated, you can receive the changes in the same way as first building the repository:

cask exec github-elpa update
git push

Command-Line Arguments

Sub-Commands

github-elpa update

If you just want to do "all", issue update.

Actually this is just a combination of the following build and commit subcommands.

github-elpa build

Issue build to only update packages without committing them. This command reads recipes in recipes/ (or the directory specified by -r optiion), fetches packages and builds them by recipes. In short, this command is just a thin wrapper around package-build.el.

github-elpa commit

commit subcommand commit packages to git repository. This command will git-commit files in docs/elpa/ (or the directory given by -a), and do not commit any other files.

Options

Option Default Description
-r, --recipes-dir <recipes-dir> recipes Specify directory that contains recipe files
-a, --archive-dir <archive-dir> docs/elpa Specify directory in which to keep compiled archives
-w, --working-dir <working-dir> .github-elpa-working Specify directory in which to keep checkouts
-t, --tar <tar-executable> (Use value from package-build.el) Specify tar executable name to archive files

License

This software is unlicensed. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].