GistLog - simple, easy blogging based on GitHub gists

Overview

Gistlog logo

GistLog

Build Status

Turn your gists into easy, beautiful, responsive blog posts--each a "GistLog". Just paste a Gist URL into GistLog.co and you're up and running.

You can also just replace gist.github.com in any URL with gistlog.co, and you instantly have a beautiful GistLog.

Requirements

  • PHP >= 7.4
  • Composer

Installation

  1. Clone the repository locally
  2. Install dependencies with composer install
  3. Copy .env.example to .env and modify its contents to reflect your local environment
  4. Generate application key
php artisan key:generate
  1. Configure a web server, such as the built-in PHP web server, to serve this site using the +public+ directory as its root
php -S localhost:8080 -t public
  1. Go to https://github.com/settings/developers and create a Oauth app
  2. Create a token here https://github.com/settings/tokens that has access right to Gist

Questions

If you have any questions, please reach out to @mattstauffer. Find him here or on twitter at @stauffermatt.

Contributing

Please see the contributing.md for more explicit instructions on how to contribute to the project.

If you have an idea for the project, please look at the open issues, and if your idea isn't there, open an issue for discussion.You can write a pull request without validating the idea first, but it will open up the possibility that you spend a lot of time writing a feature and it gets rejected.

Comments
  • Laravel 5.3 Shift

    Laravel 5.3 Shift

    This pull request includes the changes for upgrading to Laravel 5.3. Feel free to commit any additional changes to the shift-16541 branch.

    Before merging, you should:

    • Checkout the shift-16541 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.3
    • Run composer update (if the pre-scripts fail, add --no-scripts)
    • Thoroughly test your application

    If you want help with your upgrade, check out the Shift Human Services or join the Shifty Coders Slack room to get answers to all your Laravel questions.

    opened by mattstauffer 16
  • Add GistConfig class

    Add GistConfig class

    Allows an author to add a gistlog.yml to their gist and have the following values pulled into a config file for the gist:

    1. published
    2. published_at
    3. preview

    The main goal of this PR is to allow authors to customize the preview text that is used for their gists on the author page. The other two config items will be used in future development to allow more fine grained control over the presentation and publishing of their posts.

    opened by JacobBennett 15
  • Laravel 8.x Shift

    Laravel 8.x Shift

    This pull request includes the changes for upgrading to Laravel 8.x. Feel free to commit any additional changes to the shift-44295 branch.

    Before merging, you need to:

    • Checkout the shift-44295 branch
    • Review all pull request comments for additional changes
    • Run composer update (if the scripts fail, add --no-scripts)
    • Clear any config, route, or view cache
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    opened by mattstauffer 14
  • Laravel 5.5 Shift

    Laravel 5.5 Shift

    This pull request includes the changes for upgrading to Laravel 5.5. Feel free to commit any additional changes to the shift-16545 branch.

    Before merging, you should:

    • Checkout the shift-16545 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.5
    • Run composer update (if the pre-scripts fail, add --no-scripts)
    • Thoroughly test your application

    If you want help with your upgrade, check out the Shift Human Services or join the Shifty Coders Slack room to get answers to all your Laravel questions.

    opened by mattstauffer 14
  • Laravel 5.2 Shift

    Laravel 5.2 Shift

    This pull request includes the changes for upgrading to Laravel 5.2. Feel free to commit any additional changes to the shift-16540 branch.

    Before merging, you should:

    • Checkout the shift-16540 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.2
    • Run composer update (if the pre-scripts fail, add --no-scripts)
    • Thoroughly test your application

    If you want help with your upgrade, check out the Shift Human Services or join the Shifty Coders Slack room to get answers to all your Laravel questions.

    opened by mattstauffer 14
  • Use Github's Api For Markdown Rendering

    Use Github's Api For Markdown Rendering

    Hello - I've created a GitHubMarkdownTransformer that uses the github-api-client to transform markdown with githubs markdown endpoint.

    I updated the ContentParser class to register the new github transformer, and remove the old one.

    I created a GitHubClientServiceProvider that builds the cached client and sets auth. (same as the gistClient that already existed). Registered in config/app.php. Different from gistClient is that since the authenticate() method is only setting a token, i modified the check to only look for token, instead of client_id and client_secret.

    Last, i created a test that makes a call to the rate_limit api endpoint to verify auth is working by returning 5000 as the core rate limit. I modified the github-api-client to include this endpoint and have a PR open on that repo to include this addition.

    Thanks.

    opened by quickliketurtle 14
  • Laravel 5.4 Shift

    Laravel 5.4 Shift

    This pull request includes the changes for upgrading to Laravel 5.4. Feel free to commit any additional changes to the shift-16542 branch.

    Before merging, you should:

    • Checkout the shift-16542 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.4
    • Run composer update (if the pre-scripts fail, add --no-scripts)
    • Thoroughly test your application

    If you want help with your upgrade, check out the Shift Human Services or join the Shifty Coders Slack room to get answers to all your Laravel questions.

    opened by mattstauffer 13
  • Add XSS cleaner

    Add XSS cleaner

    Locked to most recent commit right now because composer wants to pull in a broken commit by default, even at dev-master. Kind of weird.

    Once there's a tag or composer is actually pulling in the most recent commit, we can drop that.

    Test with this gist adamwathan/b6450affd3e2cacde13d :)

    opened by adamwathan 12
  • Allow commenting on Gistlog without leaving UI

    Allow commenting on Gistlog without leaving UI

    fixes Issue #7 requires PR #77

    This adds user creation and login through socialite with the purpose of allowing users to comment on a Gistlog post without having to leave the post itself.

    opened by JacobBennett 12
  • Laravel 7.x Shift

    Laravel 7.x Shift

    This pull request includes the changes for upgrading to Laravel 7.x. Feel free to commit any additional changes to the shift-43078 branch.

    Before merging, you need to:

    • Checkout the shift-43078 branch
    • Review all pull request comments for additional changes
    • Run composer update (if the scripts fail, add --no-scripts)
    • Clear any config, route, or view cache
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    opened by mattstauffer 11
  • Tailwind 2.x Shift

    Tailwind 2.x Shift

    This pull request contains changes for upgrading to Tailwind 2.x automated by Shift.

    Before merging, you need to:

    • Checkout the shift-46799 branch
    • Review all pull request comments for additional changes
    • Run npm install (if nothing installs, try removing package-lock.json first)
    • Build your CSS assets
    • Thoroughly review your application for additional styling tweaks
    opened by mattstauffer 10
  • Viewing Github Profile info below Profile Image

    Viewing Github Profile info below Profile Image

    Firstly I'd like to say that I just discovered this application and it's already become my favourite way to write and publish content. Thank you so much for the work you've put in to making it. It's genuinely a delight. I'm super pumped that the repo allows contributions.

    To be honest, I am a novice php/javascript developer but I wanted to contribute back to the project. So I considered the fact that it would be nice if the user's github profile blurb was displayed below their header as a way to flesh out the user's profile page a little more. I'm not sure however if the maintainers think something like that is valuable.

    If the above idea isn't feasible, please let me know if there are contributions that could be made in the realms of documentation, testing, or tooling.

    Thank you again for the effort.

    opened by tkshill 2
  • Anchors aren't auto-generated for headers like in GitHub

    Anchors aren't auto-generated for headers like in GitHub

    It seems that anchors don't work once the md is viewed in gistlog. For example I just made my first blog post: https://gistlog.co/engineersamuel/858571689dc9af802a26b63b1e8a1b56 . The TLDR What worked anchor doesn't work. However if you open the gist @ https://gist.github.com/engineersamuel/858571689dc9af802a26b63b1e8a1b56 and click the What worked then the anchor works fine.

    opened by engineersamuel 5
  • Landing page content seems to take a while to update

    Landing page content seems to take a while to update

    After creating a new GistLog and/or changing an existing GistLog's published status (via the gistlog.yml file), it seems to take a while for the change to take effect on my landing page. Is there an expected delay between publishing new logs and when they should appear on the landing page? Ideally, a user could change the published state and have it take effect immediately, in case they accidentally published something they wasn't ready/etc.

    If I open the Gist page directly (e.g. https://gistlog.co/{user}/{id}), the content is always fresh. So it simply seems to be an issue with the landing page (e.g. https://gistlog.co/{user}). I noticed some caching being done in the landing page client, but I couldn't tell how long the cache duration was. Thanks again for making an awesome product!

    opened by lostintangent 2
  • Allow authors to manage settings

    Allow authors to manage settings

    In regards to our discussion on #117 or more specifically this comment, what type of settings would we want to make available to authors? Here are a few thoughts.

    • Twitter Username
    • Author Webpage
    • Google Analytics Tracking Id (UA thingy)

    Seems pretty minimal I know. Would love to hear feedback.

    opened by JacobBennett 5
  • Trending Gistlogs

    Trending Gistlogs

    No idea on what the implementation would be, how things would be scored, or anything, but it would be cool if the home page could show trending posts so you can see what people are reading.

    Could be an upvote system, view count, shares, who knows, but the general job story is something like:

    When I'm looking for interesting tech writing to read, I want a way to discover posts that are getting a lot of attention, to help me keep up with what others are talking about in the tech community

    enhancement hacktoberfest 
    opened by adamwathan 4
An ultra-lightweight blogging engine, written in PHP.

简体中文, Italiano. ?? Translations wanted! Go to the wiki to find out more about translating Chyrp Lite into your language. What can Chyrp Lite do for me

Daniel Pimley 202 Jan 2, 2023
A Blogging Platform with a built-in Feed Aggregator. Built with AngularJS and Laravel.

ReMark ReMark is an open source publishing platform built with the informed content creator in mind. It works as: A blogging platform A feed aggregato

Ren 4 Nov 1, 2019
The platform allows you to manage articles, comments, tags, categories, and users for a blogging platform.

Laravel Blogging Platform The platform allows you to manage articles, comments, tags, categories, and users for a blogging platform. The project was w

Khaled Farhat 6 Oct 2, 2022
Handle GitHub webhooks in a Laravel application

GitHub can notify your application of events using webhooks. This package can help you handle those webhooks.

Spatie 71 Nov 5, 2022
3DS Town Square (3DSTS) is a website built and designed for the Nintendo 3DS. Also see GitHub pages for more info.

3DSTownSquare 3DS Town Square (3DSTS) is a website built and designed for the Nintendo 3DS. Supported PHP versions The only tested versions is 7.4.29,

HotPizzaYT 2 May 26, 2022
Pretty, simple and easy gallery

Auto Generating Gallery This is build with the awesome php framework Laravel 4. See the demo Pretty, simple and easy gallery. Upload albumfolder via f

Martin Dilling-Hansen 27 Oct 24, 2020
MINI is an extremely simple and easy to understand skeleton PHP application

MINI MINI is an extremely simple and easy to understand skeleton PHP application, reduced to the max. MINI is NOT a professional framework and it does

Chris 1.3k Dec 22, 2022
Koel is a simple web-based personal audio streaming service written in Vue and Laravel

Koel (also stylized as koel, with a lowercase k) is a simple web-based personal audio streaming service written in Vue on the client side and Laravel on the server side. Targeting web developers, Koel embraces some of the more modern web technologies – CSS grid, audio, and drag-and-drop API to name a few – to do its job.

Koel 14.3k Jan 4, 2023
TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application

TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application for storing, uploading, editing and managing files and folders online via web browser. The Application runs on PHP 5.5+, It allows the creation of multiple users and each user can have its own directory and a build-in support for managing text files with cloud9 IDE and it supports syntax highlighting for over 150+ languages and over 35+ themes.

Prasath Mani 3.5k Jan 7, 2023
Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.

⚠️ Note - Not the latest version This is the repository for Bolt 3. Please know that Bolt 5 has been released. If you are starting a new project, plea

Bolt 4.1k Dec 27, 2022
A simple blog project based on a custom-created MVC framework using PHP & MySQL

A simple blog project based on a custom-created MVC framework using PHP & MySQL. That follows the Facade design pattern.

Samiul Arafah Dhrubo 2 May 28, 2022
Modern, simple and fresh looking glass based on Bootstrap 5 and PHP 7

Modern, simple and fresh looking glass based on Bootstrap 5 and PHP 7. A looking glass is a network utility which is made user-friendly for everyone to use. It allows you to execute network related commands within a remote network, usually that of an ISP.

Hybula 77 Jan 1, 2023
A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.

Lychee A great looking and easy-to-use photo-management-system. Since the 1st of April 2018 this project has moved to it's own Organisation (https://g

Tobias Reich 6.2k Jan 5, 2023
NamelessMC is a free, easy to use & powerful website software for your Minecraft server

NamelessMC - v2 pre-release 10 NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range o

NamelessMC 520 Jan 1, 2023
Open source ERP software. Built on modern PHP and bootstrap 4. Easy and powerful.

FacturaScripts Open source ERP software. Built on modern PHP and bootstrap 4. Easy and powerful. Install Clone and deploy with composer and npm (compo

Carlos Garcia 313 Jan 4, 2023
Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants

TastyIgniter provides a professional and reliable platform for restaurants wanting to offer online food ordering and table reservation to their custom

TastyIgniter 2.4k Dec 27, 2022
A slim, lean forum package designed for quick and easy integration in Laravel projects

Complete documentation is available on teamteatime.net. Installation Requires Laravel 6+ and PHP 7.4+. Step 1: Install the package Install the package

TeamTeaTime 486 Dec 31, 2022
Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony

Grav Grav is a Fast, Simple, and Flexible, file-based Web-platform. There is Zero installation required. Just extract the ZIP archive, and you are alr

Grav 13.6k Dec 24, 2022