Code Monkey home page Code Monkey logo

djecrety's People

Contributors

dependabot[bot] avatar mrouhi13 avatar physicistsouravdas avatar wsvincent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

djecrety's Issues

Use SVG for Logos

Use SVG for Logos
Use SVG file for Github logo and Djecrety logo.

Set Domain

Set Domain
Set "djecrety.ir" DNS records to Github Pages.

Update Readme

Update Readme
Update readme for using and contributing the package.

Add Policy Link

Add Policy Link
Add policy link in the footer with a message like below:

Djecrety is written using pure Javascript, CSS, and HTML and do not have any back-end code and database.

Develop Djecrety Django Package

Develop Djecrety Django Package

  • Implement a function that updates settings.py file with the new secret key
  • Implement a function that generates a new secret key
  • Implement a command class that updates secret key with specifying settings directory
  • Write unit tests for the generator function
  • Write unit tests for updater function
  • Write unit tests for djecrety command

Create Github Repo

Create Github Repo
Add the project to Github.

  • .gitignore file
  • README.md file
  • LICENSE file

Change secret storage recommandation

I would recommend putting the secret key inside an .env file that would store all secrets (including admin and database password) and from settings.pygetting the secret key like this. Then we can gitignore the .envfile.

settings.py

import os

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get(
    "DJANGO_SECRET_KEY"
)

.env

DATABASE_NAME=**********
DATABASE_USER=**********
DATABASE_PASSWORD=**********
...

DJANGO_SECRET_KEY={SECRET_KEY}

...

I think this method helps preventing mistakes while facilitating collaboration as there are many things we can change inside settings.pythat we would want other developpers to pull.

The current recommendation:

So recommended: Keep it safe. Ignore
settings.py file in your commits. Change the secret
key on your deploy. If you lost the secret key for any reason or
the server got compromised change it as soon as possible.

Site Optimization

Site Optimization
Make the site SEO in friendly way.

  • Add essential meta tags
  • Add robots.txt file
  • Add sitemap.xml file
  • Add favicon
  • Optimize images
  • Minify assets

Add Twitter Link

Add Twitter Link
Add a Twitter link next to the email button.

Update Index Page

Update Index Page
Add package reference and help to the index page.

Design Index Page

Design Index Page
Design index.html page using Semantic UI and jQuery.

Clipboard Issue

Clipboard Issue
When clicking on the generate button, clipboard doesn't change.

Set Logo

Set Logo
Add logo and favicon.

Travis CI

Travis CI
Add .travis.yml file and check with Travis service for CI.

Please remove # from your keys

Hello!

First of all, I really love to use your website - it is simple but amazing because I need to create keys so often and your work just makes it so much easier.

Just one request:
Please remove it that sometimes #-characters can show up in the key since python will interpret the rest as a comment.

Thank you very much!

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.