Git Product home page Git Product logo

is's Introduction

Josh Hawkins is...

This is the repo powering my tech blog / personal site.

It's written to be hosted on a .is TLD and have URLs be human readable (josh.hawkins.is/a-writer). You can easily fork this repo and add your own content to achieve the same effect!

It's written entirely in JavaScript and utilizes Next.js for server-side rendering with React.

If you're unimpressed, I wrote this in a bit of spare time between more fun and exciting open source projects, and mostly because I was about to graduate and seek full time employment. I was perfectly happy with the old blog, but I figured a passionate web dev should at least make their own website as a demo, not just use a static site generator. Maybe that's silly, but this site serves to tick the box and not much more. It's simple, works, houses my blog, and that's about all I ever wanted from it. Feel free to look at my other projects if you're interested to see something cool or where my passion really shines!

Deploying to now.sh

  1. Fill out the .env file with necessary environment variables
  2. Deploy with now
  3. Double-check that the site works as expected with any new changes in production
  4. Once confirmed, alias with now alias

Publishing an article

  1. Draft the article in /pages/writing-about (This link can be shared but won't be publicly visible until added to the database)
  2. Add to database to make public / discoverable

Publishing a project

  1. Simply write the project according to the GraphQL schema and add it to the database

Configuration

Drop a .env file in the root folder and populate the following values:

  • MONGO_USER
  • MONGO_PASS

is's People

Contributors

hawkins avatar johno avatar

Watchers

 avatar  avatar

is's Issues

500's on a few pages

One person was able to find 500's on two pages (a-writer and an-open-source-fanatic, while others were able to view the pages just fine. What's happening?

08/28 02:07 PM (2m)
{ ReferenceError: Head is not defined
08/28 02:07 PM (2m)
    at Function._callee$ (/home/nowuser/src/.next/dist/bundles/pages/an-open-source-fanatic.js:465:21)
08/28 02:07 PM (2m)
    at tryCatch (/home/nowuser/src/node_modules/regenerator-runtime/runtime.js:62:40)
08/28 02:07 PM (2m)
    at Generator.invoke [as _invoke] (/home/nowuser/src/node_modules/regenerator-runtime/runtime.js:296:22)
08/28 02:07 PM (2m)
    at Generator.prototype.(anonymous function) [as next] (/home/nowuser/src/node_modules/regenerator-runtime/runtime.js:114:21)
08/28 02:07 PM (2m)
    at step (/home/nowuser/src/.next/dist/bundles/pages/an-open-source-fanatic.js:378:221)
08/28 02:07 PM (2m)
    at _next (/home/nowuser/src/.next/dist/bundles/pages/an-open-source-fanatic.js:378:409)
08/28 02:07 PM (2m)
    at <anonymous>

Update projects

My projects are very out of date, so I would like to add new blurbs about new projects.

What's more, is it would be nice to pull projects from my GitHub automatically, if at all feasible.

Configure now secrets

Configuring now secrets will allow me to bypass the env mandatory inputs, meaning the now github app will be able to automatically deploy updates to the master branch for me

Some links 301

  • /introducing-himself:
    • linking to GitHub over http
    • twitch link does not include www.

Now Builder is broken

Now v2 kind of sucks for this app right now. /a-writer and /an-open-source-fanatic both 500 on page load if you navigate straight away to them, but they succeed if you navigate from another page to them.

Raw CSS

Rendering style tags in React over and over is pretty silly and a little jarring the way I'm doing it, particularly when external resources like fonts load, so I'd like to just skip on back to raw CSS and get a little closer to the wire for easier caching, etc.

Explore moving away from Jekyll

I'll be honest - I feel guilty as a web developer having my personal site be powered by GitHub Pages and Jekyll. Where's the JavaScript? My code is just markdown? Really?

Plus, this is a fairly simple project in nature - moving this project away from Jekyll could be a great opportunity to learn some new concepts and technologies, like server-side rendering (since this site is so content-based).

Some tools I'd like to consider:

  • Next.js
    • Discussed in #2
  • Vanilla React

Add preview and meta tags

Not sure what all goes into this but I'd like to support best practices for:

  • Facebook
  • Twitter
  • Telegram
  • Reddit?

Basically show a profile picture when appropriate, and include any text summaries when possible

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.