{"id":13674600,"url":"https://github.com/nicksergeant/snipt","last_synced_at":"2026-01-11T03:43:27.945Z","repository":{"id":3139516,"uuid":"4168445","full_name":"nicksergeant/snipt","owner":"nicksergeant","description":"👨‍💻 Code snippets for teams and individuals.","archived":true,"fork":false,"pushed_at":"2024-02-27T17:56:47.000Z","size":15393,"stargazers_count":71,"open_issues_count":3,"forks_count":21,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-14T12:21:52.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicksergeant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2012-04-28T16:19:46.000Z","updated_at":"2024-04-25T07:47:52.016Z","dependencies_parsed_at":"2024-04-25T07:57:57.409Z","dependency_job_id":null,"html_url":"https://github.com/nicksergeant/snipt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicksergeant%2Fsnipt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicksergeant%2Fsnipt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicksergeant%2Fsnipt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicksergeant%2Fsnipt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicksergeant","download_url":"https://codeload.github.com/nicksergeant/snipt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224120246,"owners_count":17259032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T11:00:54.750Z","updated_at":"2026-01-11T03:43:27.910Z","avatar_url":"https://github.com/nicksergeant.png","language":"CSS","funding_links":[],"categories":["Software","others","Pastebins"],"sub_categories":["Pastebins","Video Streaming"],"readme":"# Snipt\n\n## Running locally\n\n- Clone the repo.\n- `cd snipt`\n- `python3 -m venv ~/.virtualenvs/snipt`\n- `source ~/.virtualenvs/snipt/bin/activate`\n- `pip install -r requirements.txt`\n- `brew install postgresql`\n- `brew services start postgresql`\n- `createuser snipt`\n- `createdb snipt --owner=snipt`\n- `cp settings_local.py-template settings_local.py` // modify if necessary\n- `python manage.py migrate`\n- `make run`\n\n## Deploying on Dokku\n\n- `dokku apps:create snipt`\n- `dokku postgres:create snipt`\n- `dokku postgres:link snipt snipt`\n- `scp snipt.dump nsergeant@server.nicksergeant.com:/home/nsergeant`\n- `dokku postgres:connect snipt \u003c snipt.dump`\n- `dokku domains:add snipt snipt.net`\n- `dokku storage:mount snipt /var/lib/dokku/data/storage/snipt-whoosh:/app/snipt-whoosh`\n- `dokku config:set DOKKU_LETSENCRYPT_EMAIL=support@snipt.net SECRET_KEY=\u003csome-secret-key\u003e USE_SSL=true WHOOSH_PATH=/app/snipt-whoosh/whoosh_index`\n- `git remote add dokku dokku@server.nicksergeant.com:snipt`\n- `git push dokku`\n\n## Automatic deploy to Heroku\n\nYou can click the button below to automatically deploy Snipt to Heroku.\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/nicksergeant/snipt)\n\n## Manual deploy to Heroku\n\n- Clone the repo.\n- `heroku create`\n- `heroku addons:add heroku-postgresql:hobby-dev`\n- `heroku addons:add searchbox`\n- `heroku config:add SECRET_KEY=\u003csome-secret-key\u003e`\n- `git push heroku`\n- `heroku run python manage.py migrate`\n- `heroku run python manage.py createsuperuser`\n- Visit yourapp.herokuapp.com and login with the user you just created.\n\n## Updating your Heroku instance after an automatic deploy\n\n- `git clone https://github.com/nicksergeant/snipt`\n- `cd snipt`\n- `git checkout heroku`\n- `heroku git:remote -a \u003cyour-instance-name\u003e`\n- `git push heroku heroku:master`\n\n## Options\n\nIf you want email support (for password resets, server errors, etc):\n\n- `heroku addons:create postmark:10k`\n- `heroku run addons:open postmark` -\u003e use an email you control and confirm it\n- `heroku config:add POSTMARK_EMAIL=\u003cemail_from_above\u003e`\n\nIf you want to disable user-facing signup:\n\n- `heroku config:set DISABLE_SIGNUP=true`\n\nIf you want to enable Django's DEBUG mode:\n\n- `heroku config:add DEBUG=true`\n\nIf you want to enable SSL on a custom domain after you've configured your\nHeroku SSL cert:\n\n- `heroku config:add USE_SSL=true`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicksergeant%2Fsnipt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicksergeant%2Fsnipt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicksergeant%2Fsnipt/lists"}