• Stars
    star
    13,557
  • Rank 2,271 (Top 0.05 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Quickly browse the history of a file from any git repository

Git History

Quickly browse the history of files in any git repo:

  1. Go to a file in GitHub (or GitLab, or Bitbucket)
  2. Replace github.com with github.githistory.xyz
  3. There's no step three

Try it

If you like this project consider backing my open source work on Patreon!
And follow @pomber on twitter for updates.

Extensions

Browsers

You can also add an Open in Git History button to GitHub, GitLab and Bitbucket with the Chrome and Firefox extensions.

Or you can use a bookmarklet.
javascript: (function() {
  var url = window.location.href;
  var regEx = /^(https?\:\/\/)(www\.)?(github|gitlab|bitbucket)\.(com|org)\/(.*)$/i;
  if (regEx.test(url)) {
    url = url.replace(regEx, "$1$3.githistory.xyz/$5");
    window.open(url, "_blank");
  } else {
    alert("Not a Git File URL");
  }
})();

Local Repos

You can use Git History for local git repos with the CLI or with the VS Code extension.

Support Git History

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

selefra

Backers

Thank you to all our backers! πŸ™ [Become a backer]

Contributors

This project exists thanks to all the people who contribute.

Thanks

BrowserStack for letting open source projects use their services for free. Now I can test, debug and fix Safari issues from my Chrome running on Linux!

Credits

Based on these amazing projects:

License

MIT

More Repositories

1

code-surfer

Rad code slides <πŸ„/>
JavaScript
6,347
star
2

didact

A DIY guide to build your own React
JavaScript
6,294
star
3

stargazer

Your repo reached a stars milestone? Celebrate with a video of your stargazers!
TypeScript
1,304
star
4

covid19

JSON time-series of coronavirus cases (confirmed, deaths and recovered) per country - updated daily
JavaScript
1,227
star
5

placeholdifier

Turn any website into a live wireframe
HTML
353
star
6

scrollycoding-preview

JavaScript
267
star
7

hitchcock

The Master of Suspense 🍿
JavaScript
168
star
8

intersection-observer-debugger

A script you include during development that shows the root, target, and intersection every time an IntersectionObserver is triggered.
JavaScript
129
star
9

react-lazy-preload-demo

Lazy loading (and preloading) components in ReactΒ 16.6
JavaScript
123
star
10

react-fit-to-viewport

TypeScript
118
star
11

site

JavaScript
99
star
12

gpt-docs

An alternative take on OpenAI's Chat Completion official guide and API reference
JavaScript
67
star
13

react-conf-2018-hooks-demo

A copy of Dan's intro to hooks using Code Surfer v3
JavaScript
56
star
14

use-spring

Hooke's law hook
TypeScript
55
star
15

react-svg-curve

React components to draw different types of curves with svg
TypeScript
54
star
16

record-talk-with-remotion

TypeScript
51
star
17

codem-ipsum

Lorem ipsum for code
HTML
42
star
18

springs

Stiffness? Damping? Mass? Spring Editor
HTML
41
star
19

the-x-in-mdx

JavaScript
40
star
20

code-hike-sample

JavaScript
37
star
21

deck-studio

JavaScript
35
star
22

write-code-online

A minimalist code editor
HTML
32
star
23

code-hike-site

JavaScript
31
star
24

create-code-surfer-deck

Initialize a project with mdx deck and code surfer
JavaScript
29
star
25

docusaurus-mdx-2

A Docusaurus theme to add support for MDX v2
TypeScript
28
star
26

gatsby-remark-import-code

Gatsby remark plugin to import code from a file into code blocks
JavaScript
23
star
27

awesome-word-pairs

Opposite word pairs with the same number of letters, ideal for naming your variables.
21
star
28

full-width-text

Web component for making the inner text fit the width of the element
HTML
20
star
29

use-safe-window

React hook to bypass SSR errors when using the window object
JavaScript
19
star
30

escher-bot

https://twitter.com/mauritscorneIis
JavaScript
18
star
31

gatsby-theme-deck-n-blog

Create a deck (with mdx-deck) and a blog post from the same MDX
JavaScript
18
star
32

diagrama

JavaScript
17
star
33

paper-fab-speed-dial

A floating action button flinging out related actions
HTML
16
star
34

mdx-debugger

JavaScript
15
star
35

code-explainers

JavaScript
12
star
36

areyou10x

Quiz: Are you a real 10x programmer?
JavaScript
11
star
37

server-side-media-queries-for-react

JavaScript
9
star
38

codetv

JavaScript
9
star
39

depto_scraper

Scrape apartments from websites searches and upload them in a google spreadsheet
Python
8
star
40

remix-codehike

JavaScript
8
star
41

code-surfer-editor

JavaScript
6
star
42

intersection-observer

Intersection observer code explainer
Svelte
6
star
43

500metros

Hasta dΓ³nde podΓ©s llegar sin pasarte de los 500 metros de distancia
HTML
6
star
44

forkbox

JavaScript
5
star
45

sim-text-edit

JavaScript
5
star
46

incremental-rendering-demo

JavaScript
5
star
47

docs-page-demo

4
star
48

aoe-widget

JavaScript
4
star
49

louis-xiv

React state as a component
JavaScript
4
star
50

css-filters-screencast

HTML
4
star
51

fail-to-pr

Post the relevant part of your broken CI build to the PR that triggered it
JavaScript
4
star
52

blog

Posts by @pomber. JavaScript, React, dev tools, animations and more.
JavaScript
3
star
53

spectacle-another-code-slide

JavaScript
3
star
54

playhead

Component-based animations (coming soon...)
JavaScript
3
star
55

hotkey-trainer

TypeScript
3
star
56

react-vista

JavaScript
3
star
57

dont-panic-js

Answer to the Ultimate Question of JavaScript, the Browser, and Everything
3
star
58

ai-rsc

TypeScript
3
star
59

webcontainer-out-of-memory

JavaScript
2
star
60

nextjs-static-props

JavaScript
2
star
61

next-require-context-issue

JavaScript
2
star
62

react-dx-boilerplate

A react starter kit, based on create-react-app, focused on developer experience
JavaScript
2
star
63

.github

https://help.github.com/en/articles/creating-a-default-community-health-file-for-your-organization
2
star
64

proto-code-hike-chat

TypeScript
2
star
65

conway

JavaScript
2
star
66

nextjs-mdx-use-client-bug

TypeScript
2
star
67

js-action

JavaScript
1
star
68

client-server-bundler

Bundle client and server folders into one build folder including a proxy server to handle static files
JavaScript
1
star
69

magic-browser-support-ball

JavaScript
1
star
70

polymer-1-samples

Polymer 1 samples
HTML
1
star
71

empty

1
star
72

yarn-workspaces-code-sharing

JavaScript
1
star
73

copy-with-ansi-codes

JavaScript
1
star
74

hylia

HTML
1
star
75

crochet

React without renderers, if you want an effect you use a hook (WIP - Paused)
JavaScript
1
star
76

bondify

JavaScript
1
star
77

ch-v1-inngest

TypeScript
1
star